Welcome to adi-share.com Sunday, 20 May 2012

Difference between JWindow and JFrame

        import javax.swing.JFrame;
        import javax.swing.JWindow;
        
        public class Main2 {
          public static void main(String[] args) {
            JFrame f = new JFrame("The Frame");
            f.setSize(300, 300);
            f.setLocation(100, 100);
        
            JWindow w = new JWindow();
            w.setSize(300, 300);
            w.setLocation(500, 100);
        
            f.setVisible(true);
            w.setVisible(true);
          }
        }
        

Image Gallery

pix pix pix pix pix pix

 

Contact

Please send your suggestions, advices or found bugs at following e-mail address.

adnan@adi-share.com

Thank you.