A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Swing / AWT / SWT
Joined: Dec 12, 2006
Feb 06, 2007 03:04:00
Hi i have been able to display an image as background. Now i want to display an Image icon on a Jlabel and POSITION the IMAGE ICOn or the JLABEL. Please HELP ME out. Million thanks for any help, examples or codes. Thanks again
Joined: Aug 21, 2004
Feb 06, 2007 15:21:00
More information on what you are trying to do would help. To add an imageicon to a label use
Jlabel label = new
("Path to your icon"));
and you can just add the label to your frame. Once again more details on what you are trying to achieve will help to give you a more detailed answer.
Joined: Sep 20, 2005
Feb 06, 2007 22:24:00
This is the 4th thread you have created for this one problem.
The others are
Don't you realize that you are alienating the helpful people here to do this? Every time you create a new thread, you are lowering the probability of getting a helpful response.
You might try posting the code you have written so far in an attempt to solve this problem. That will
your chances of getting a helpful response.
I agree. Here's the link:
subject: POSITIONING IMAGEICON
How do I display an image on a JLabel
Problems loading image into a JLabel located in a JScrollPane
Display arrow button over label icon on focus
Display text over an icon in Jlabel
humm imageIcon in an applet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014