Re: Changing JFrame components at runtime



Which IDE are you (mis)using?
Netbeans, but I'm not using GUI designer.

...of MyPanel

RenderPanel, ContentArea or LabelArrayPanel are
all better names for this than MyPanel - mostly
because it makes it sound as if it were written by
a 2 yr old in the 'I, me, mine!' phase.

That isn't real name of my class (PannelloGriglia is the name).
I used it to illustrate the problem but my application is more complex
with several custom classes extending JPanel and array of those classes.

.