Changeset 18175 for gli/trunk/src/org
- Timestamp:
- 2008-12-11T14:37:10+13:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/gui/WarningDialog.java
r18130 r18175 149 149 show_check = new JCheckBox(Dictionary.get("WarningDialog.Dont_Show_Again")); 150 150 bottom_pane.add(show_check, BorderLayout.CENTER); 151 getRootPane().setDefaultButton(ok_button);152 151 } 153 152 … … 198 197 199 198 /** Gives notification of key events on the buttons */ 200 public void keyPressed(KeyEvent e) {} 201 202 public void keyReleased(KeyEvent e) { 199 public void keyPressed(KeyEvent e) { 203 200 if (e.getKeyCode() == KeyEvent.VK_ENTER) { 204 201 // Enter: Click the button in focus … … 209 206 } 210 207 } 208 209 public void keyReleased(KeyEvent e) {} 211 210 212 211 public void keyTyped(KeyEvent e) {}
Note:
See TracChangeset
for help on using the changeset viewer.