Make Java Application:Step By step


Creating Login Window

1)Open The IDE

2)File ->New Project->Java->Java Application

3)Click Next

4)Give the project name as”myApp”.Click Finish(picture 1)(Related pictures are given below )

pic1

5)Go to myApp in the list on the left side .Right click.

6)Go to new->JFrame Form. and create the form by giving some name.

7)As we can see,palette window on the right side .

8)Select the Label Drag and drop into the frame created.(picture 2)

pic2

9)Right Click on the label and edit the text written inside.

10)Write “Login Window” .

11)Drag two more Labels from the palette and then Rename it as “username” and “password”.(picture 3)

pic3

12)Now You need to drag the text pane and passworld field from the palette.

13)Your Login Window is ready.(picture 4)

pic4

14)Go to source .Right click on the code.click on run file.(picture 5)

pic5

15)Now you can run your own GUI application in JAVA.

    pic6
Advertisements

2 comments on “Make Java Application:Step By step

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s