File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
rocket mass heater
subject: POSITIONING IMAGEICON
Problems loading image into a JLabel located in a JScrollPane
How do I display an image on a JLabel
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-2013