Programming and running code with NetBeans

After going through all the previous steps, you are able to start Java programming. The next screenshot shows you the structure of the NetBeans environment:

Programming and running code with NetBeans

The following are the details of the NetBeans environment's sections:

  • Projects: This section is displayed on the left-hand side of the packages and classes that compose the Java project
  • Code: This is shown in the middle of the screen and brings the code you should interact with
  • Run the code: As displayed in the button indicated on the screen
  • Debug the code: To debug the code, select the Debug menu and then choose a file to debug (or press Ctrl + Shift + F5)

Tip

We recommend you to run the IDE as an administrator, but it is not necessary.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset