Tips for heathy life

Tips for heathy life

Kamis, 30 Oktober 2008

Make FRAME in Netbean 5.5



I want to share how to Make FRAME in Netbean 5.5. You can use this code but if you copy this code and paste in your blog/website, please insert this link of article.

import javax.swing.JFrame;

public class Main {


public Main() {
}


public static void main(String[] args) {
JFrame frame =new JFrame("Interface Frame in Java");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(400,150);
frame.show();
}

}

EXECUTE :

0 komentar:

Posting Komentar