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