Changeset 6292


Ignore:
Timestamp:
05/12/10 16:08:57 (10 years ago)
Author:
curtis
Message:

Put information panel on right instead of bottom.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/loci-plugins/src/loci/plugins/in/MainDialog.java

    r6265 r6292  
    4141import java.awt.event.MouseListener; 
    4242import java.util.HashMap; 
     43import java.util.Map; 
    4344import java.util.Vector; 
    4445 
     
    9495  protected Checkbox virtualBox; 
    9596 
    96   protected HashMap<Component, String> infoTable; 
     97  protected Map<Component, String> infoTable; 
    9798  protected JEditorPane infoPane; 
    9899 
     
    291292      "pref, 3dlu, pref:grow, " + 
    292293      // second column 
    293       "10dlu, pref"; 
     294      "10dlu, pref, " + 
     295            // third column 
     296      "10dlu, fill:150dlu"; 
    294297 
    295298    String rows = 
     
    300303      "3dlu, pref, " + 
    301304      // Color options        | Split into separate windows 
    302       "9dlu, pref, 3dlu, pref, 3dlu, pref, 3dlu, pref, 3dlu, pref, " + 
    303       // Information 
    304       "9dlu, pref, 3dlu, fill:100dlu"; 
     305      "9dlu, pref, 3dlu, pref, 3dlu, pref, 3dlu, pref, 3dlu, pref"; 
    305306 
    306307    // TODO: change "Merge channels into RGB" checkbox to 
     
    375376    row += 2; 
    376377    builder.add(splitTBox, xyw(cc, 5, row, 1)); 
    377     row += 4; 
     378    //row += 4; 
    378379 
    379380    // information section 
    380     builder.addSeparator("Information", cc.xyw(1, row, 5)); 
    381     row += 2; 
     381    builder.addSeparator("Information", cc.xy(7, 1)); 
     382    //row += 2; 
    382383    infoPane = new JEditorPane(); 
    383384    infoPane.setContentType("text/html"); 
    384385    infoPane.setEditable(false); 
    385386    infoPane.setText("<html>" + INFO_DEFAULT); 
    386     builder.add(new JScrollPane(infoPane), cc.xyw(1, row, 5)); 
    387     row += 2; 
     387    builder.add(new JScrollPane(infoPane), cc.xywh(7, 3, 1, row)); 
     388    //row += 2; 
    388389 
    389390    gd.removeAll(); 
     
    498499 
    499500    // groupFilesBox 
    500     //groupFilesEnabled = !options.isOMERO(); 
    501     //if (!groupFilesEnabled) isGroupFiles = false; 
    502     //else 
    503501    if (src == stackFormatChoice && isStackBrowser) isGroupFiles = true; 
    504502 
Note: See TracChangeset for help on using the changeset viewer.