Re: Changing JFrame components at runtime




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

Avoiding the GUI designer is probably best,
until you get a good working knowledge of
Java layouts and general GUI techniques.

...of MyPanel

RenderPanel, ContentArea or LabelArrayPanel are
all better names ...

That isn't real name of my class (PannelloGriglia is the name).

I like that name far *far* better than (cringe) MyPanel.

OK - perhaps for the sake of clarity, it might have been
better to refer to it by its actual (italian?) then put
in brackets your best translation (PanelGrill?).

When code is mentioned, many people prefer to
be discussing actual class names, especially for
the sake of avoiding confusion.

Andrew T.

.