Changeset 5348
- Timestamp:
- 2003-08-29T10:54:50+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/metaaudit/AutofilterDialog.java
r5347 r5348 105 105 setModal(true); 106 106 setSize(SIZE); 107 setTitle(get("Auto Filter.Title"));107 setTitle(get("Autofilter.Title")); 108 108 setJMenuBar(new SimpleMenuBar("6.7")); 109 109 // Creation 110 110 JPanel content_pane = (JPanel) getContentPane(); 111 111 JPanel name_pane = new JPanel(); 112 JLabel name_label = new JLabel(get("Auto Filter.Name"));112 JLabel name_label = new JLabel(get("Autofilter.Name")); 113 113 JTextField name_template = new JTextField(); 114 114 name = new JLabel(); … … 117 117 JPanel value_pane = new JPanel(); 118 118 JPanel inner_value_pane = new JPanel(); 119 JLabel value_label = new JLabel(get("Auto Filter.eqeq"));119 JLabel value_label = new JLabel(get("Autofilter.eqeq")); 120 120 value = new JComboBox(); 121 121 value.setEditable(false); … … 127 127 first_value.addItem(""); 128 128 first_value.setSelectedItem(""); 129 first_case = new JCheckBox(get("Auto Filter.Case_Sensitive"));129 first_case = new JCheckBox(get("Autofilter.Case_Sensitive")); 130 130 JPanel operator_pane = new JPanel(); 131 JLabel operator_label = new JLabel(get("Auto Filter.Operator"));131 JLabel operator_label = new JLabel(get("Autofilter.Operator")); 132 132 ButtonGroup operator_group = new ButtonGroup(); 133 and_check = new JCheckBox(get("Auto Filter.AND"));134 none_check = new JCheckBox(get("Auto Filter.None"));135 or_check = new JCheckBox(get("Auto Filter.OR"));133 and_check = new JCheckBox(get("Autofilter.AND")); 134 none_check = new JCheckBox(get("Autofilter.None")); 135 or_check = new JCheckBox(get("Autofilter.OR")); 136 136 none_check.setSelected(true); 137 137 operator_group.add(none_check); … … 146 146 second_value.addItem(""); 147 147 second_value.setSelectedItem(""); 148 second_case = new JCheckBox(get("Auto Filter.Case_Sensitive"));148 second_case = new JCheckBox(get("Autofilter.Case_Sensitive")); 149 149 JPanel lower_pane = new JPanel(); 150 150 JPanel order_pane = new JPanel(); 151 JLabel order_label = new JLabel(get("Auto Filter.Order"));151 JLabel order_label = new JLabel(get("Autofilter.Order")); 152 152 order = new JComboBox(); 153 order.addItem(get("Auto Filter.Ascending"));154 order.addItem(get("Auto Filter.Descending"));153 order.addItem(get("Autofilter.Ascending")); 154 order.addItem(get("Autofilter.Descending")); 155 155 // Assign values to method comboboxes. 156 156 for(int i = 0; i < Autofilter.METHOD_LIST.length; i++) { … … 159 159 } 160 160 JPanel button_pane = new JPanel(); 161 cancel_button = new JButton(get("Auto Filter.Clear"));161 cancel_button = new JButton(get("Autofilter.Clear")); 162 162 cancel_button.setMnemonic(KeyEvent.VK_C); 163 ok_button = new JButton(get("Auto Filter.Set"));163 ok_button = new JButton(get("Autofilter.Set")); 164 164 ok_button.setMnemonic(KeyEvent.VK_S); 165 165 // Connection … … 214 214 custom_pane.add(second_pane); 215 215 216 control.add(get("Auto Filter.Filter_By_Value"), value_pane);217 control.add(get("Auto Filter.Custom_Filter"), custom_pane);216 control.add(get("Autofilter.Filter_By_Value"), value_pane); 217 control.add(get("Autofilter.Custom_Filter"), custom_pane); 218 218 219 219 button_pane.setBorder(BorderFactory.createEmptyBorder(5,0,0,0));
Note:
See TracChangeset
for help on using the changeset viewer.