Changeset 102 for trunk/src/org/expeditee/gui/Browser.java
- Timestamp:
- 06/11/08 09:22:56 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/Browser.java
r80 r102 48 48 */ 49 49 public static void main(String[] args) { 50 FrameGraphics.SupressMessages(true);50 //FrameGraphics.SupressMessages(true); 51 51 _theBrowser = new Browser(); 52 FrameGraphics.SupressMessages(false);52 //FrameGraphics.SupressMessages(false); 53 53 // Why do we want to ignore repaint? 54 // _theBrowser.setIgnoreRepaint(true);54 // _theBrowser.setIgnoreRepaint(true); 55 55 _theBrowser.requestFocus(); 56 56 // FrameGraphics.ForceRepaint(); … … 130 130 public void go() { 131 131 Collection<String> warningMessages = Actions.Init(); 132 132 133 DisplayIO.Init(this); 133 134 // Set visible must be just after DisplayIO.Init for the message box to … … 145 146 DisplayIO.setCurrentFrame(firstFrame); 146 147 DisplayIO.UpdateTitle(); 147 148 149 150 for (String message: warningMessages)148 149 //I think this can be moved back up to the top of the Go method now... 150 //It used to crash the program trying to print error messages up the top 151 for (String message : warningMessages) 151 152 FrameGraphics.WarningMessage(message); 152 153 … … 175 176 super.paint(g); 176 177 FrameGraphics.Repaint(); 177 // System.out.println("Paint " + count++);178 // System.out.println("Paint " + count++); 178 179 } 179 180
Note:
See TracChangeset
for help on using the changeset viewer.