Ignore:
Timestamp:
06/11/08 09:22:56 (16 years ago)
Author:
ra33
Message:

Fixed bug preventing it from working in windows... and added comment to stop that happening again.

Added right click and drag to a line...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/Browser.java

    r80 r102  
    4848         */
    4949        public static void main(String[] args) {
    50                 FrameGraphics.SupressMessages(true);
     50                //FrameGraphics.SupressMessages(true);
    5151                _theBrowser = new Browser();
    52                 FrameGraphics.SupressMessages(false);
     52                //FrameGraphics.SupressMessages(false);
    5353                // Why do we want to ignore repaint?
    54                 //_theBrowser.setIgnoreRepaint(true);
     54                // _theBrowser.setIgnoreRepaint(true);
    5555                _theBrowser.requestFocus();
    5656                // FrameGraphics.ForceRepaint();
     
    130130        public void go() {
    131131                Collection<String> warningMessages = Actions.Init();
     132
    132133                DisplayIO.Init(this);
    133134                // Set visible must be just after DisplayIO.Init for the message box to
     
    145146                DisplayIO.setCurrentFrame(firstFrame);
    146147                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)
    151152                        FrameGraphics.WarningMessage(message);
    152153
     
    175176                super.paint(g);
    176177                FrameGraphics.Repaint();
    177                 //System.out.println("Paint " + count++);
     178                // System.out.println("Paint " + count++);
    178179        }
    179180
Note: See TracChangeset for help on using the changeset viewer.