Changeset 8474
- Timestamp:
- 2004-11-05T16:25:43+13:00 (19 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/GAuthenticator.java
r6318 r8474 126 126 Dimension screen_size = Toolkit.getDefaultToolkit().getScreenSize(); 127 127 dialog.setLocation((screen_size.width - SIZE.width) / 2, (screen_size.height - SIZE.height) / 2); 128 dialog.s how();128 dialog.setVisible(true); 129 129 if(!authentication_cancelled) { 130 130 // Store the authentication -
trunk/gli/src/org/greenstone/gatherer/Gatherer.java
r8266 r8474 388 388 if (splash != null) { 389 389 // Hide the splash screen 390 splash. hide();390 splash.setVisible(false); 391 391 splash.destroy(); 392 392 splash = null; … … 429 429 430 430 // Get the gui to deallocate 431 g_man. hide();431 g_man.setVisible(false); 432 432 g_man.destroy(); 433 433 g_man_built = false; … … 452 452 else { 453 453 JOptionPane.showMessageDialog(g_man, Dictionary.get("General.Outstanding_Processes"), Dictionary.get("General.Outstanding_Processes_Title"), JOptionPane.ERROR_MESSAGE); 454 g_man. hide();454 g_man.setVisible(false); 455 455 } 456 456 } -
trunk/gli/src/org/greenstone/gatherer/cdm/CollectionConfiguration.java
r8358 r8474 355 355 content_pane.add(new JScrollPane(tree), BorderLayout.CENTER); 356 356 content_pane.add(refresh_button, BorderLayout.SOUTH); 357 dialog.s how();357 dialog.setVisible(true); 358 358 } 359 359 -
trunk/gli/src/org/greenstone/gatherer/cdm/ParsingProgress.java
r8473 r8474 88 88 setLocation((screen_size.width - SIZE.width) / 2, 89 89 (screen_size.height - SIZE.height) / 2); 90 s how();90 setVisible(true); 91 91 } 92 92 -
trunk/gli/src/org/greenstone/gatherer/collection/SaveCollectionBox.java
r6318 r8474 141 141 Point loc = Gatherer.g_man.getLocation(); 142 142 setLocation((frmSize.width - dlgSize.width) / 2 + loc.x, (frmSize.height - dlgSize.height) / 2 + loc.y); 143 s how();143 setVisible(true); 144 144 145 145 // Deallocate things we allocated here. -
trunk/gli/src/org/greenstone/gatherer/feedback/ActionRecorderDialog.java
r7741 r8474 1382 1382 frame.addScreenPanel(feedbackframe,img,x,y,w,h); 1383 1383 } 1384 frame. hide();1384 frame.setVisible(false); 1385 1385 } 1386 1386 else -
trunk/gli/src/org/greenstone/gatherer/gui/AboutDialog.java
r8332 r8474 152 152 Rectangle frame_bounds = parent.getBounds(); 153 153 setLocation(frame_bounds.x + (frame_bounds.width - SIZE.width) / 2, frame_bounds.y + (frame_bounds.height - SIZE.height) / 2); 154 s how();154 setVisible(true); 155 155 } 156 156 /** Listens for actions upon the close button, and when detected closes the dialog. */ … … 161 161 */ 162 162 public void actionPerformed(ActionEvent event) { 163 self. hide();163 self.setVisible(false); 164 164 self.dispose(); 165 165 } -
trunk/gli/src/org/greenstone/gatherer/gui/DownloadProgressBar.java
r8243 r8474 193 193 else if(source == log_button) { 194 194 LogDialog dialog = new LogDialog(owner.getLogDocument()); 195 dialog.s how();195 dialog.setVisible(true); 196 196 dialog = null; 197 197 } -
trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java
r8356 r8474 423 423 if (Gatherer.isGsdlRemote) { 424 424 // consider saving??? 425 hide();425 setVisible(false); 426 426 } 427 427 else { -
trunk/gli/src/org/greenstone/gatherer/gui/GatherPane.java
r8354 r8474 889 889 Dimension screen_size = Configuration.screen_size; 890 890 setLocation((screen_size.width - DIALOG_SIZE.width) / 2, (screen_size.height - DIALOG_SIZE.height) / 2); 891 s how();891 setVisible(true); 892 892 // If not cancelled create mapping. 893 893 if(!cancelled) { -
trunk/gli/src/org/greenstone/gatherer/gui/NewFolderPrompt.java
r8243 r8474 128 128 Rectangle frame_bounds = Gatherer.g_man.getBounds(); 129 129 setLocation(frame_bounds.x + (frame_bounds.width - SIZE.width) / 2, frame_bounds.y + (frame_bounds.height - SIZE.height) / 2); 130 s how();130 setVisible(true); 131 131 return name; 132 132 } -
trunk/gli/src/org/greenstone/gatherer/gui/Splash.java
r7314 r8474 58 58 Dimension screen_size = Toolkit.getDefaultToolkit().getScreenSize(); 59 59 setLocation((screen_size.width - size.width) / 2, (screen_size.height - size.height) / 2); 60 s how();60 setVisible(true); 61 61 } 62 62 -
trunk/gli/src/org/greenstone/gatherer/gui/URLField.java
r8236 r8474 99 99 panel.setLayout(new BorderLayout()); 100 100 panel.add(new URLField(Color.black, Color.white, Color.white, Color.red), BorderLayout.CENTER); 101 frame.s how();101 frame.setVisible(true); 102 102 } 103 103 } -
trunk/gli/src/org/greenstone/gatherer/help/HelpFrame.java
r8258 r8474 163 163 164 164 // Make the help frame visible 165 s how();165 setVisible(true); 166 166 split_pane.setDividerLocation(0.2); 167 167 } -
trunk/gli/src/org/greenstone/gatherer/util/AppendLineOnlyFileDocument.java
r8243 r8474 911 911 content.add(read_button, BorderLayout.SOUTH); 912 912 913 frame.s how();913 frame.setVisible(true); 914 914 } 915 915 -
trunk/gli/src/org/greenstone/gatherer/util/TreeModelTest.java
r8243 r8474 200 200 Dimension screen_size = Toolkit.getDefaultToolkit().getScreenSize(); 201 201 setLocation((screen_size.width - SIZE.width) / 2, (screen_size.height - SIZE.height) / 2); 202 s how();202 setVisible(true); 203 203 } 204 204
Note:
See TracChangeset
for help on using the changeset viewer.