Swing question
- From: Nuno Silva <xenobyte@xxxxxxxxxx>
- Date: Wed, 27 Apr 2005 21:29:26 +0000
Hi, I'm pretty new to Swing, and I'm at the hello world example code from
java.sun.com. I'm trying to add next to the JLabel a JButton, and next to
frame.getContentPane().add(label); I do the same for the JButton created,
but in the GUI only shows the button. Can you explain to me why this happens
and why not appending the button next to the label? And how should I do to
make them put together?
Thanks in advance.
Nuno
.
- Prev by Date: syntax of sslext with a url parameter
- Next by Date: Re: syntax of sslext with a url parameter
- Previous by thread: syntax of sslext with a url parameter
- Next by thread: newbie with object problems
- Index(es):