Update of /cvsroot/mydm/MyDM/src/java/org/mydm/ui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19781
Modified Files:
CollectionPane.java
Log Message:
stop button by found: label
Index: CollectionPane.java
===================================================================
RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/ui/CollectionPane.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** CollectionPane.java 24 Feb 2004 21:20:02 -0000 1.5
--- CollectionPane.java 14 Mar 2004 18:18:47 -0000 1.6
***************
*** 35,38 ****
--- 35,40 ----
import java.util.logging.Logger;
+ import javax.swing.ImageIcon;
+ import javax.swing.JButton;
import javax.swing.JComboBox;
import javax.swing.JDesktopPane;
***************
*** 74,78 ****
private TableSorter ctmSorter;
! private JPanel crContainerPane;
private JSplitPane completePane;
private JTable listTable;
--- 76,80 ----
private TableSorter ctmSorter;
! private JPanel crContainerPane, navigPane;
private JSplitPane completePane;
private JTable listTable;
***************
*** 81,87 ****
// Navigation Information
private JLabel navLabel;
!
private final JComboBox sortBy = new JComboBox(EDocSortingOption.VALUES);
private final JComboBox ftOption =
new JComboBox(new String[] {"All", "Fulltext", "No Fulltext"});
--- 83,90 ----
// Navigation Information
private JLabel navLabel;
!
private final JComboBox sortBy = new JComboBox(EDocSortingOption.VALUES);
+ private final JButton stopSearch = new JButton(new ImageIcon("graphics/tbicons/general/Stop16.gif"));
private final JComboBox ftOption =
new JComboBox(new String[] {"All", "Fulltext", "No Fulltext"});
***************
*** 170,173 ****
--- 173,177 ----
ftOption.setEnabled(true);
sortBy.setEnabled(true);
+ stopSearch.setEnabled(false);
}
***************
*** 191,196 ****
// Navigational Panel
! JPanel navigPane = new JPanel();
!
navigPane.add(new JLabel("Sort by"));
navigPane.add(sortBy);
--- 195,199 ----
// Navigational Panel
! navigPane = new JPanel();
navigPane.add(new JLabel("Sort by"));
navigPane.add(sortBy);
***************
*** 208,211 ****
--- 211,215 ----
navigPane.add(new JLabel("Found : "));
navigPane.add(navLabel);
+ navigPane.add(stopSearch);
// Document List Panel
***************
*** 343,349 ****
EDocSorter.sort(eDocs, (EDocSortingOption)cb.getSelectedItem());
}
!
for(int i=0; i<eDocs.size(); i++){
-
// If the Action is FTOption
if(whichAction.equals("ftoption")){
--- 347,352 ----
EDocSorter.sort(eDocs, (EDocSortingOption)cb.getSelectedItem());
}
! int cnt = 0;
for(int i=0; i<eDocs.size(); i++){
// If the Action is FTOption
if(whichAction.equals("ftoption")){
|