Load component at runtime

Hi

I am a big problem :)

How I can load component at runtime in my application?

I mean: When I (at runtime) click on the jButton my custom component will be displayed, because I want to load some parameters to my component constructor(for example from jTextField) at runtime.

Thanks ;)

[317 byte] By [lama_powera] at [2007-11-26 22:20:14]
# 1
at runtime, whenever you add or remove components you need to callframe.validate(); or[parentContainer].revalidate();and probablyframe.repaint();test the combinations to see what works best for you
Michael_Dunna at 2007-7-10 11:17:00 > top of Java-index,Desktop,Core GUI APIs...