Changeset 15206 for release-kits/shared/ant-installer/src/org/tp23/antinstaller/renderer/swing/DirectoryInputRenderer.java
- Timestamp:
- 2008-04-23T17:28:06+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/shared/ant-installer/src/org/tp23/antinstaller/renderer/swing/DirectoryInputRenderer.java
r14982 r15206 17 17 18 18 import java.awt.BorderLayout; 19 import java.awt.FlowLayout; 20 import javax.swing.BoxLayout; 19 21 import java.awt.Dimension; 20 22 import java.awt.event.ActionEvent; … … 25 27 import javax.swing.JFileChooser; 26 28 import javax.swing.JPanel; 29 import javax.swing.JLabel; 27 30 28 31 import org.tp23.antinstaller.input.DirectoryInput; … … 41 44 private DefaultingDirectoryChooser chooser = null; 42 45 43 protected AILabel fieldLabel = new AILabel();46 protected JLabel fieldLabel = new AILabel(); 44 47 protected AIShortTextField jTextField = new AIShortTextField(); 45 48 protected AIButton browseButton = new AIButton(); … … 125 128 126 129 } 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); 130 136 if(overflow){ 131 137 jTextField.setOverflow(SizeConstants.OVERFLOW_SHORT_FIELD_SIZE);
Note:
See TracChangeset
for help on using the changeset viewer.