Menu

Commit [r5441]  Maximize  Restore  History

This revision moves a reference to the main Font object out of the

DefinitionsPane, to prevent memory leaks and allow the
DefinitionsPaneMemoryLeakTest to pass. The listener is now in
MainFrame, and a static character width field is kept for all
DefinitionsPanes; that is acceptable, though, because DrJava only
allows one main font for all panes anyway.

mgricken 2011-08-12

changed /trunk/drjava/src/edu/rice/cs/drjava/ui/DefinitionsPane.java
changed /trunk/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
/trunk/drjava/src/edu/rice/cs/drjava/ui/DefinitionsPane.java Diff Switch to side-by-side view
Loading...
/trunk/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB