Changeset 6323


Ignore:
Timestamp:
2003-12-19T14:52:30+13:00 (20 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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/GeneralManager.java

    r6168 r6323  
    4242import org.greenstone.gatherer.cdm.Control;
    4343import org.greenstone.gatherer.gui.EmailField;
     44import org.greenstone.gatherer.gui.GLIButton;
    4445import org.greenstone.gatherer.gui.NewCollectionDetailsPrompt;
    4546import org.greenstone.gatherer.gui.OpenCollectionDialog;
     
    235236        icon_textfield = new JTextField("CDM.General.Icon_Collection");
    236237        Dictionary.registerTooltip(icon_textfield, "CDM.General.Icon_Collection_Tooltip");
    237         browse_about_icon_button = new JButton();
     238        browse_about_icon_button = new GLIButton();
     239        browse_about_icon_button.setMnemonic(KeyEvent.VK_A);
    238240        Dictionary.registerText(browse_about_icon_button, "General.Browse");
    239241        JPanel small_icon_panel = new JPanel();
     
    243245        small_icon_textfield = new JTextField("CDM.General.Icon_Collection_Small");
    244246        Dictionary.registerTooltip(small_icon_textfield, "CDM.General.Icon_Collection_Small_Tooltip");
    245         browse_home_icon_button = new JButton();
     247        browse_home_icon_button = new GLIButton();
     248        browse_home_icon_button.setMnemonic(KeyEvent.VK_A);
    246249        Dictionary.registerText(browse_home_icon_button, "General.Browse");
    247250        JPanel description_panel = new JPanel();
Note: See TracChangeset for help on using the changeset viewer.