NetBeans IDE Interface
- File operations buttons
These buttons are usually marked in red. They are used to create new files, new projects, open up an existing file or project, and save changes in files as and when required.
- Actions Undo-Redo Buttons
As the name suggests, these are buttons used to undo or redo changes while the code is being developed.
- Build, debug and Run controls
These are the controls you use when you want to build or execute a project.
Apart from the toolbar, NetBeans also has the projects, Files, and services tabs on the left panel. Depending on your version and flavor, the services tab contains essential objects that you can use. It also has a list of databases, repositories, sample RESTful services, etc.
Versioning in NetBeans
NetBeans comes equipped with support for a full range of versioning systems. This is quite different from the Eclipse IDE. Using these versioning features is simple and straightforward. If you want to initialize the repository for any type of versioning in NetBeans, all you have to do is move to Git/Mercurial/Subversion then Initialize Repository to create a repository for your current project. You also have the clone option that you can utilize to clone a remote repository. Options for versioning operations will be automatically added after a repository has been cloned or initialized.
Refactoring Class Names & Variable Names
Refactoring involves making changes to a specific item. An example includes renaming a given identifier or keyword. Let us say you want to change the name of a Java class that you have created, you will have to change both the class name and Java file. However, if you are using NetBeans, refactoring changes made in one instance will be automatically reflected in other instances.