This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Hi, i have a simple applet with two jPanel components. I use the first one to display a background image for the whole applet, and is working quite nicely. Inside this jPanel i have some buttons, labels, jTable, etc. and all is working fine. The problem is that i have a secondary jPanel in which i also need to display an image (much smaller that the background of the applet) but i cannot manage to get it drawn in the screen. Here is the sample code i am using:
The result is that im having the image of the first jPanel always drawn but i cannot see the image in the second jPanel at all. Any ideas? Thanks!
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32708
4
posted
0
"gpedraza," when you logged on you appear to have missed the naming policy which requires first name-space-last name. We do actually insist on that, so please go to "my profile" and correct your displayed name to comply.