P
Peter
Hi
I am writting a Java Bean which extends JPanel, inside the jpanel,
it contains many other component , such as jbutton, jtable.
In the constructor of this Java Bean, the getSize() of those
components give me 0,0, So where should i put the init code in?
i tried : hierarchyChanged(), propertyChanged(), vetoableChange(),
focusGain(), componentAdded(), componentShown() event, but still give
me 0,0
thanks
from Peter ([email protected])
I am writting a Java Bean which extends JPanel, inside the jpanel,
it contains many other component , such as jbutton, jtable.
In the constructor of this Java Bean, the getSize() of those
components give me 0,0, So where should i put the init code in?
i tried : hierarchyChanged(), propertyChanged(), vetoableChange(),
focusGain(), componentAdded(), componentShown() event, but still give
me 0,0
thanks
from Peter ([email protected])