|
|
@ -31,11 +31,11 @@ public class UITreeComboBox extends JComboBox{ |
|
|
|
public UITreeComboBox(ComponentTree componentTree){ |
|
|
|
public UITreeComboBox(ComponentTree componentTree){ |
|
|
|
this.setTree(componentTree); |
|
|
|
this.setTree(componentTree); |
|
|
|
tree.getDesigner().addDesignerEditListener(new TreeComboBoxDesignerEditAdapter()); |
|
|
|
tree.getDesigner().addDesignerEditListener(new TreeComboBoxDesignerEditAdapter()); |
|
|
|
for(int i=0; i<tree.getRowCount(); i++) |
|
|
|
// for(int i=0; i<tree.getRowCount(); i++)
|
|
|
|
{ |
|
|
|
// {
|
|
|
|
tree.expandRow(i); |
|
|
|
// tree.expandRow(i);
|
|
|
|
} |
|
|
|
// }
|
|
|
|
setPreferredSize(new Dimension(30, 20)); |
|
|
|
setPreferredSize(new Dimension(200, 20)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|