Ignore:
Timestamp:
2008-04-23T17:28:06+12:00 (16 years ago)
Author:
oranfry
Message:

work on the GUI of the installer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release-kits/shared/ant-installer/src/org/tp23/antinstaller/renderer/swing/DirectoryInputRenderer.java

    r14982 r15206  
    1717
    1818import java.awt.BorderLayout;
     19import java.awt.FlowLayout;
     20import javax.swing.BoxLayout;
    1921import java.awt.Dimension;
    2022import java.awt.event.ActionEvent;
     
    2527import javax.swing.JFileChooser;
    2628import javax.swing.JPanel;
     29import javax.swing.JLabel;
    2730
    2831import org.tp23.antinstaller.input.DirectoryInput;
     
    4144    private DefaultingDirectoryChooser chooser = null;
    4245
    43     protected AILabel fieldLabel = new AILabel();
     46    protected JLabel fieldLabel = new AILabel();
    4447    protected AIShortTextField jTextField = new AIShortTextField();
    4548    protected AIButton browseButton = new AIButton();
     
    125128
    126129    }
    127     public int addSelf(JPanel content,GBCF cf,  int row,boolean overflow) {
    128         content.add(fieldLabel,cf.getCell(row,0));
    129         content.add(browsePanel,cf.getCell(row,1));
     130    public int addSelf(JPanel content,GBCF cf,  int row, boolean overflow) {
     131        FlowLayout l = new FlowLayout(FlowLayout.LEFT);
     132        JPanel p = new JPanel(l);
     133        p.add(fieldLabel);
     134        content.add(p);
     135        content.add(browsePanel);
    130136        if(overflow){
    131137            jTextField.setOverflow(SizeConstants.OVERFLOW_SHORT_FIELD_SIZE);
Note: See TracChangeset for help on using the changeset viewer.