Sabtu, 03 Desember 2011

Source code frame di java

public class frame {

    public static void main (String [] agrs)    {
       
        JFrame f = new JFrame("frame");
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.setLocationRelativeTo(null);
        f.setSize(300, 300);
        f.setLayout(new FlowLayout ());
        f.setVisible(true);
                    
          }
}

Tidak ada komentar:

Posting Komentar