Changeset 1075
- Timestamp:
- 06/14/16 10:52:44 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/Browser.java
r1039 r1075 87 87 public static boolean _hasExited = false; 88 88 89 pr ivateMouseEventRouter _mouseEventRouter;89 protected MouseEventRouter _mouseEventRouter; 90 90 91 91 // A flag which is set once the application is exiting. 92 pr ivateboolean _isExiting = false;93 94 pr ivateboolean _minimum_version6 = false;92 protected boolean _isExiting = false; 93 94 protected boolean _minimum_version6 = false; 95 95 96 96 public boolean isMinimumVersion6() { … … 98 98 } 99 99 100 pr ivatestatic boolean _initComplete = false;100 protected static boolean _initComplete = false; 101 101 102 pr ivatestatic String _startFrame = null;102 protected static String _startFrame = null; 103 103 104 104 /** … … 180 180 } 181 181 182 pr ivateBrowser() {182 protected Browser() { 183 183 // center the frame on the screen 184 184 Dimension screen = Toolkit.getDefaultToolkit().getScreenSize(); … … 213 213 214 214 // set the layout to absolute layout for widgets 215 this.getContentPane().setLayout(new AbsoluteLayout()); 215 // => this used to be done here, but now has been moved to later in the method 216 // as is works better when put in a JFXPanel 217 //this.getContentPane().setLayout(new AbsoluteLayout()); 216 218 217 219 _mouseEventRouter = new MouseEventRouter(getJMenuBar(), … … 227 229 addComponentListener(this); 228 230 pack(); 231 this.getContentPane().setLayout(new AbsoluteLayout()); // moved to here to work with JFXPanel 229 232 230 233 // Reset windows to user specified size … … 375 378 * @return 376 379 */ 377 pr ivateFrame loadProfile(String userName) {380 protected Frame loadProfile(String userName) { 378 381 Frame profile = FrameIO.LoadProfile(userName); 379 382 if (profile == null) { … … 392 395 public Graphics2D g; 393 396 394 pr ivatevoid setupGraphics() {397 protected void setupGraphics() { 395 398 if (g != null) 396 399 g.dispose();
Note:
See TracChangeset
for help on using the changeset viewer.