Hey all.
When a user clicks on something I want to add a new control to a panel
in my frame with an XYLayout.
This is the code I have.
GUI.Components.Component c = null; //My packages
...
c = new SomeComponentICreated();
pnlMain.add("10,10,50,20",c);
System.out.println(c.isVisible());
System.out.println(pnlMain.getComponentCount());
Output is
true
1
true
2
If I do it twice, but I cannot see my controls!
Andrew
Andrew Thompson - 14 Sep 2006 14:01 GMT
> Hey all.
Well hey again!
Please refrain from multi-posting in future.
(X-Post to c.l.j.g/p/h, w/ f-u to c.l.j.help only)
Andrew T.