In this tutorial, you will learn on how to get started to create GUI Java application. However, before you get into GUI programming, make sure you understand the basics and fundamentals of Java command line programming, because it does will get more confusing..
PHP Code:
import javax.swing.JFrame;
public class myGUI extends JFrame {
public myGUI(String title) {
super(title);
setSize(500, 500); // set your GUI size
setVisible(true); // to set your GUI visibility to true
}
public static void main(String args[]) {
new myGUI("The ProgrammersTalk Community");
}
}
That will create the GUI frame with "The ProgrammersTalk Community" as the title
