import  javax.swing.*;   
  public class  exa9_4 {   
      public static void main(String[] args){   
       //һĴ
       JFrame jf1=new JFrame("ǴJFrame"); 
       JLabel jb1=new JLabel("ӭ");
       jf1.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);//ùرմ
       jf1.setLocation(300,200);          	//ôʾλ
       jf1.setSize(320,240);              	//ôĳߴ
       jf1.getContentPane().add(jb1);  	   	//Ȼ壬
       jf1.setVisible(true);            	  	//ôĿɼ
  }   
}
