Changeset 2195 for trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient
- Timestamp:
- 2001-03-19T21:22:00+12:00 (23 years ago)
- Location:
- trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient/PreferencesDialog.java
r2190 r2195 145 145 NzdlPreferences.setBoolean(Constants.SAVE_DOCS, saveDocsCheckBox.isSelected()); 146 146 NzdlPreferences.getInstance().save(); 147 148 // update the current display if raw text option has changed ? 149 147 150 dispose(); //close window 148 151 } -
trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient/SearchPanel.java
r2190 r2195 61 61 62 62 JLabel collectionLabel; 63 JButton collectionInfoButton; 63 64 JTextField searchTextField; 64 65 JButton searchButton; … … 119 120 } 120 121 }; 122 collectionInfoButton = new JButton("Info..."); 123 collectionInfoButton.addActionListener(this); 121 124 122 125 collectionListPanel.add(collectionLabel); 123 126 collectionListPanel.add(collectionList); 127 collectionListPanel.add(collectionInfoButton); 124 128 125 129 searchTextFieldPanel = new JPanel(); … … 247 251 } // end if 248 252 else { 249 System.err.println("unknown Action event in SearchPanel"); 253 if (e.getSource() == collectionInfoButton) { 254 //System.err.println("colllection info button pressed"); 255 CollectionInfoDialog cid = new CollectionInfoDialog(windowParent, collectionList.getSelectedItem().toString(), csModel); 256 } 257 else { 258 System.err.println("unknown Action event in SearchPanel"); 259 } 250 260 } 251 261 } //end actionPerformed … … 315 325 documentPane.setCaretPosition(1); 316 326 // we might not be using htmlDoc at this point!! 317 //htmlDoc.getImageData(nzdl, result.getCollectionName());327 htmlDoc.getImageData(nzdl, result.getCollectionName()); 318 328 windowParent.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); 319 329 //System.err.println("prefix = " + nzdl.getCollectionInfo(result.getCollectionName()).getHTTPPrefix());
Note:
See TracChangeset
for help on using the changeset viewer.