Changeset 299 for trunk/loci/visbio/view


Ignore:
Timestamp:
04/05/05 16:14:04 (15 years ago)
Author:
curtis
Message:

Tweak "Add 2D" and "Add 3D" buttons.

Location:
trunk/loci/visbio/view
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/visbio/view/DisplayControls.java

    r193 r299  
    8282 
    8383    // add 2D button 
    84     add2D = new JButton("Add 2D"); 
     84    add2D = new JButton("Add 2D..."); 
    8585    add2D.addActionListener(this); 
    8686    if (!LAFUtil.isMacLookAndFeel()) add2D.setMnemonic('2'); 
     
    8888 
    8989    // add 3D button 
    90     add3D = new JButton("Add 3D"); 
     90    add3D = new JButton("Add 3D..."); 
    9191    add3D.addActionListener(this); 
    9292    if (!LAFUtil.isMacLookAndFeel()) add3D.setMnemonic('3'); 
  • trunk/loci/visbio/view/DisplayManager.java

    r209 r299  
    8484    if (getDisplays().length < MAX_DISPLAYS) { 
    8585      String name = (String) JOptionPane.showInputDialog(parent, 
    86         "Display name:", "Add display", JOptionPane.INFORMATION_MESSAGE, 
    87         null, null, defaultName); 
     86        "Display name:", "Add " + (threeD ? "3D" : "2D") + " display", 
     87        JOptionPane.INFORMATION_MESSAGE, null, null, defaultName); 
    8888      if (name != null) { 
    8989        window = new DisplayWindow(this, name, threeD); 
Note: See TracChangeset for help on using the changeset viewer.