Opening a Java class in the visual editor

If you have not made the visual editor for Java the default editor for .java files, you can still open Java classes in the visual editor.

To open an existing Java class in the visual editor for Java:

  1. In the Package Explorer view of the Java perspective, select the .java source file for the class that you want to edit in the visual editor.
  2. Do one of the following steps:
    • Right-click and select Open With > Visual Editor from the pop-up menu. The workbench remembers your editor choice for this file until you choose a different editor.
    • Double-click the file. If the visual editor is the default editor for .java files, or if you most recently opened the file with the Java visual editor, the file will open in the visual editor.

(C) Copyright IBM Corporation 1999, 2004. All Rights Reserved.