The source view is the most sophisticated part of JSwat. It uses a Java language parser to colorize the lexical elements of the file, identify the locations and names of the defined classes, and determine the locations of all of the methods. It uses a popup menu to manage breakpoints and scroll to method definitions.
The gutter is the place where the line numbers are shown, on the left side of the source view. The background color is used to indicate the location of breakpoints. The default light gray indicates that line does not have a breakpoint. The other colors are defined as follows:
The current location is like the current thread (see Threads, Call Stack). It is set whenever a breakpoint is hit and indicates the line about to be executed in the debuggee. The line is indicated in the source view using a blue highlight across that line. Changing the current thread or stack frame will move the highlight to the corresponding line of the appropriate source view.
You can search for words and phrases in the source view by using the "Search Source" menu item in the "View" menu (or the toolbar button with the binoculars). In the Find dialog, simply enter the word or phrase you are looking for, then click Ok. To ignore letter casing, select the checkbox provided.
There are a number of options affecting the view, which include the following. They are specified in the "View" category of the user preferences dialog.