Changeset 2312
- Timestamp:
- 2001-04-14T12:35:34+12:00 (23 years ago)
- Location:
- trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient/Constants.java
r2270 r2312 83 83 Font searchTextFieldFont = new Font("SansSerif", Font.BOLD , 11); 84 84 85 /* fotn for search Term frequencies */ 85 86 87 Font searchTermFreqFont = new Font("SansSerif", Font.PLAIN , 11); 86 88 87 89 } -
trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient/SearchPanel.java
r2283 r2312 67 67 JComboBox collectionList; 68 68 JPanel queryFormulationPanel, resultsPanel, dataPanel, optionsPanel; 69 JPanel queryTypePanel, searchControlPanel ;69 JPanel queryTypePanel, searchControlPanel, searchTermsPanel; 70 70 JPanel collectionListPanel, searchTextFieldPanel, searchButtonPanel; 71 71 JPopupMenu resultPopup; … … 202 202 searchControlPanel.add(searchButtonPanel, BorderLayout.EAST); 203 203 204 searchTerms = new JLabel(" "); 204 searchTermsPanel = new JPanel(new FlowLayout(FlowLayout.LEFT)); 205 searchTerms = new JLabel(""); 206 searchTerms.setFont(searchTermFreqFont); 207 searchTermsPanel.add(searchTerms); 205 208 206 209 queryFormulationPanel = new JPanel(); … … 211 214 queryFormulationPanel.add(searchTextFieldPanel); 212 215 queryFormulationPanel.add(searchControlPanel); 213 queryFormulationPanel.add(searchTerms , BorderLayout.WEST);216 queryFormulationPanel.add(searchTermsPanel); 214 217 215 218 … … 306 309 NzdlResultSet results = response.getResultSet(); 307 310 ArrayList docIDs = new ArrayList(results.getDocumentIDs()); 308 searchTerms.setText(results.get TermFrequencyString());309 // System.err.println("Size of docIDs = " + docIDs.size()); 311 searchTerms.setText(results.getOrderedTermFrequencyString()); 312 310 313 // paired collection of docIDs and Titles - but as Sets! 311 314 Map titleMetaData = nzdl.getMetaData( collectionName, docIDs, "Title" );
Note:
See TracChangeset
for help on using the changeset viewer.