Testing our Environment – part 2

Having created the Java Project

• Select the newly created Project and create a Class by selecting from the menu bar ‘File-New-Class’. The new Class dialog box appears.

• Give the Class a package name. I will use ‘softwarepulse.app’.

• Give this Class the name ‘Application’

• Tick the checkbox to create a main method. This Class will launch our application.

Figure 2 New Class dialog box
Figure 2 New Class dialog box

• Press the finish button. This will create the Application class template code and place this under the src folder for the project.

Figure 3 Application code in Package Explorer
Figure 3 Application code in Package Explorer
Advertisements
Testing our Environment – part 2

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