Re: Changing JFrame components at runtime
- From: Brandon McCombs <none@xxxxxxxx>
- Date: Sun, 24 Sep 2006 22:50:12 GMT
Andrew Thompson wrote:
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 MyPanelRenderPanel, 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.
Well it isn't your program, he isn't going to change it just for you, and you aren't his teacher so even if the real name was MyPanel you would just have to deal with it.
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?).
The developer's preference for naming his class in this case did not prevent sufficient clarity from occurring. His name contained "Panel" which was sufficient to denote to us he was talking about a Panel container. Just because it wasn't to your liking doesn't mean it wasn't any less clear to us as to what he was talking about. He erred on the side of simplifying his variables in order to get his point across and as usual you picked out something from the post that was irrelevant to fixing the problem and fixated on it.
When code is mentioned, many people prefer to
be discussing actual class names, especially for
the sake of avoiding confusion.
For all you knew it was his actual class name until you questioned his preference for choosing it because it didn't comply with your preference and then he let it be known he changed it for the sake of this post.
.
- References:
- Changing JFrame components at runtime
- From: lego_lax
- Re: Changing JFrame components at runtime
- From: Andrew Thompson
- Re: Changing JFrame components at runtime
- From: lego_lax
- Re: Changing JFrame components at runtime
- From: Andrew Thompson
- Changing JFrame components at runtime
- Prev by Date: Re: Changing JFrame components at runtime
- Next by Date: Re: Changing JFrame components at runtime
- Previous by thread: Re: Changing JFrame components at runtime
- Next by thread: Re: Changing JFrame components at runtime
- Index(es):