用java.awt.Window中加一个Canvas,贴一张图,因该就可以了

解决方案 »

  1.   

    用一个JWidows即可实现splash windows,很容易的。就当成一个没有最大最小关闭边框的平板窗口.
      

  2.   

    各位大侠,小弟刚学java,实在是不懂,能否给个示例的代码
      

  3.   

    class SplashWindow extends Window implements Runnable {   public SplashWindow () {
          
          //here  add your components that you wanna show 
          setVisible(true);
          new Thread(this).start();
       }
       public void run() {
         // here do your init work
         dispose();  
       }
        public void paint(Graphics g) {
           // here  draw the Background Image 
        }
    }