GUI-in-JAVA

beginning of using GUI What is a swing? swing is set of program commponent that provide ability to create Graphical User Interface(GUI)

JFrame= it a JFrame class in javax.swing.*

setVisible= it is used to show the frame on desktop

setSize= it is used to give size to the frame which is show on the desktop

JButton= it is Jbutton class