display bmp images using JLabel
- From: "SJ L via JavaKB.com" <u13034@uwe>
- Date: Fri, 07 Oct 2005 03:01:22 GMT
Hello, I am trying to write a viewer that is able to read/display bmp, jpg,
gif and png files. Currently, my program is unable to read bmp files! Help!
ImageIcon ii = new ImageIcon(str);
CustomScrollPane sp = new CustomScrollPane(new JLabel(ii));
where did i go wrong... using the above code i am able to read jpg, gif and
png!
--
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-general/200510/1
.
- Follow-Ups:
- Re: display bmp images using JLabel
- From: Andrew Thompson
- Re: display bmp images using JLabel
- Prev by Date: Re: hibernate question
- Next by Date: Tomcat don't get cookies from MS IE anymore
- Previous by thread: PLEASE HELP - How to simulate 'wait' and 'notify' in RMI environment
- Next by thread: Re: display bmp images using JLabel
- Index(es):
Relevant Pages
|