DefinitionsPaneTest to confirm with the "event thread only"
pre-conditions in calls to Swing methods. It also re-enables checking
of for DefinitionsPane leaks in the method testDocumentPaneMemoryLeak.
(This method checks for both DefintionsPane leaks and
DefinitionsDocument leaks; the former had been disabled sometime
during the past summer because it had been inexplicably failing but
was not causing problems in practice.) This commit also subsitutes
ArrayList objects for LinkedList objects in two files in an attempt
to streamline the code.
The following files were modified:
M src/edu/rice/cs/drjava/model/ConcreteRegionManager.java
M src/edu/rice/cs/drjava/ui/DefinitionsPaneTest.java
M src/edu/rice/cs/drjava/ui/FindReplacePanel.java