Ignore:
Timestamp:
2003-12-19T14:45:12+13:00 (21 years ago)
Author:
jmt12
Message:

Changed JButtons for GLIButtons, which know whether they should paint their background depending on what platform they are run on, and finished keyboard shortcuts

Location:
trunk/gli/src/org/greenstone/gatherer/gui/metaaudit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gui/metaaudit/AutofilterDialog.java

    r6221 r6318  
    4343import org.greenstone.gatherer.Dictionary;
    4444import org.greenstone.gatherer.Gatherer;
     45import org.greenstone.gatherer.gui.GLIButton;
    4546import org.greenstone.gatherer.gui.metaaudit.Autofilter;
    4647import org.greenstone.gatherer.gui.metaaudit.Filter;
     
    181182    }
    182183    JPanel button_pane = new JPanel();
    183     cancel_button = new JButton();
     184    cancel_button = new GLIButton();
    184185    cancel_button.setMnemonic(KeyEvent.VK_C);
    185186    Dictionary.setBoth(cancel_button, "General.Cancel", "General.Pure_Cancel_Tooltip");
    186     remove_button = new JButton();
     187    remove_button = new GLIButton();
    187188    remove_button.setMnemonic(KeyEvent.VK_R);
    188189    Dictionary.setBoth(remove_button, "Autofilter.Remove", "Autofilter.Remove_Tooltip");
    189     set_button = new JButton();
     190    set_button = new GLIButton();
    190191    set_button.setMnemonic(KeyEvent.VK_S);
    191192    Dictionary.setBoth(set_button, "Autofilter.Set", "Autofilter.Set_Tooltip");
  • trunk/gli/src/org/greenstone/gatherer/gui/metaaudit/MetaAuditFrame.java

    r5564 r6318  
    4646import org.greenstone.gatherer.file.FileNode;
    4747import org.greenstone.gatherer.util.TreeSynchronizer;
     48import org.greenstone.gatherer.gui.GLIButton;
    4849import org.greenstone.gatherer.gui.SimpleMenuBar;
    4950import org.greenstone.gatherer.gui.ModalDialog;
     
    114115    JPanel button_pane = new JPanel();
    115116
    116     JButton close_button = new JButton();
     117    JButton close_button = new GLIButton();
    117118    close_button.setMnemonic(KeyEvent.VK_C);
    118119    Dictionary.registerBoth(close_button, "MetaAudit.Close", "MetaAudit.Close_Tooltip");
Note: See TracChangeset for help on using the changeset viewer.