tell me more icon Editing a Java Class

The new Java class opens in the source editor. The generated code includes only the class and package that you specified:

Java source editor with generated code

You will add code to create a simple bean object. Features available to you in the source editor include:

  • Java Code Insight, the Java-specific implementation of completion insight
  • fix icon Code Assist to fix common problems
  • Import statement assistance and sorting
  • Automatic doc comment templates
  • Customizable sorting and expansion for the Structure window
  • Distinctive highlighting for syntax and semantic errors
  • Customizable code separators

In the editor, press F1 if you want to learn more about the features.

The tabs at the top of the editor window are the document tabs. Selecting a document tab gives that file focus, bringing it to the foreground of the window in the current editor. The tabs at the bottom of the editor window for a given file are the editor tabs. Selecting an editor tab opens the file in that editor or viewer. For example when you are editing a .jsp file, to switch from the default visual editor to the source editor, you would click the Source tab.

Copyright © 1997, 2009, Oracle. All rights reserved.

false ,,,,,,,,,,,,,,,