Posts

Showing posts from May, 2011

Create JLabel 's Text Using JFrame in Java

Image
Description of this program :
Message dialog box is used to display informative messages to the user. In this section we will use JOptionPane class to display the message Dialog box. Our program display ">>Click<< " button on the window and when user clicks on it program displays Message box with "OK" button and message "You Clicked the Button"

Create a Simple Frame Window Using JFrame in java

Image
Description of this program : 
 This program shows you how to create a frame in Java Swing Application. The frame in java works like the main window where your components (controls) are added to develop an application. In the Java Swing, top-level windows are represented by theJFrame class. Java supports the look and feel and decoration for the frame.For creating java standalone application you must provide GUI for a user. The most common way of creating a frame is, using single argument constructor of the JFrame class.