The Output window is a multi-tabbed window that displays messages from the IDE.
This window is displayed automatically when you generate compilation errors,
debug your program, generate Javadoc documentation, and so on. You can also
open this window by choosing Window Output.
One function of the Output window is to notify you of errors found while compiling your program. The error message is displayed in blue underlined text and is linked to the line in the source code that caused the error. The Output window also provides links to errors found when running Ant build scripts and when checking and validating XML documents.
When you start a debugging session, the Output window displays two debugging tabs. The Debugger Console tab displays messages from the debugger for the current session. Some debuggers might include hyperlinks to the source code in the output. The Process Output tab displays input and output from the process associated with the current session. You can enter information in this tab as you would on a command line.
When you run a program that requires user input, a new tab appears in the Output window. This tab includes a cursor. You can enter information in the Output window as you would on a command line.
Right-clicking in the body of any Output window tab displays a menu with the items described in the following table.
Menu Item | Description |
---|---|
Copy | Copies the text selected in the Output window to the clipboard. |
Select All | Selects all text in the Output window. |
Clear Output | Removes all text in the window. |
Start Redirection of This View to File | In addition to displaying messages in the Output window, writes the messages to the output directory in your user directory. The menu item switches to Stop Redirection of This View to File. For more information on redirecting messages, see Saving Compiler Messages. |
You can also right-click the label for any tab to access the following commands:
You can click any hyperlinked error to jump to the location in the source where the error occurred. You can also navigate in the Output window using the shortcut keys in the following table.
Shortcut Key | Description |
---|---|
Control-Up Arrow / Conrtol-Down Arrow | Scrolls one line up or down |
Page Up / Page Down | Jumps one page up or down. |
Control-Page Up / Control-Page Down | Scrolls left or right. |
Alt-Left Arrow / Alt-Right Arrow | Switches to the next tab or previous tab in the Output window. |
Control-T / Control-Shift-T | Selects the next hyperlink or previous hyperlink. |
Control-Space | Jump to error in source. |
F12 / Shift-F12 | Jump to next error or previous error in source. |
You can customize the way that messages are displayed in the Output window by two methods:
See Also | |
---|---|
Saving Compiler Messages Fixing an Out Of Memory Error Customizing the Output Window |