LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-11-2008, 11:37 AM   #1
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 464

Rep: Reputation: 37
reading a Java ico file


Hi there,

I want to create a JLabel with an ico image in Java. I can do that with gif images but not with ico. Can anyone please explain me what can go wrong and what I have to do to overcome this problem.

Thanks,

manolakis.
 
Old 10-11-2008, 12:39 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Quote:
Originally Posted by manolakis View Post
Hi there,

I want to create a JLabel with an ico image in Java. I can do that with gif images but not with ico. Can anyone please explain me what can go wrong and what I have to do to overcome this problem.

Thanks,

manolakis.
You may need to use a third party library I suppose. My first hit on google leads to image4j:

http://image4j.sourceforge.net/

I hope that helps.

X
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java - reading from a file into an array joegumbo Programming 9 09-29-2008 05:12 PM
Saving a text file as a variable and reading it every second in java script mrobertson Programming 4 03-26-2007 08:25 PM
Java: Reading characters from a text file chief_officer Programming 5 03-26-2007 07:04 PM
Java: Reading from a text file slow on Tomcat robbbert Programming 7 08-25-2006 12:07 PM
File does not exist: /var/www/favicon.ico matarodi Debian 4 01-26-2006 06:53 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration