Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Swing / AWT / SWT
Application Icon
Jithesh Kozhipurath
Ranch Hand
Posts: 76
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hai friends,
I am not able to change the Icon of my application. I tried
setIconImage(Image image); but its not working. Could any one tellme how to do that
Jithesh K
Nathan Pruett
Bartender
Posts: 4121
I like...
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This should work. How are you loading your image?
Also make sure that the path to your image is correct and nothing is misspelled. No exception will be thrown, you'll just get an empty image.
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
VIJAY Yadlapati
Ranch Hand
Posts: 175
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I got the same problem some time back - because the Image is big in size.
When you have exhausted all possibilities, remember this: you haven't - Edison. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
J2me Application Icon and title bar ImageIcon
looking for a creative way to get a string from file.xml
to make an icon for application.
Changing the coffee cup icon of a Java Application!
ImageIcon's not displayed when created a executable Jar.
More...