|
-
September 28th, 2011, 01:52 PM
#1
window icon
Hi everyone, I need to set an image to the window of my application
I've heard it is this way
frame.setIconImage(new ImageIcon(imgURL).getImage());
but not working, I know setIconImage needs an Image as a parameter, but I don't know how to create it because nowhere it asks for the location of my image
another question:is the window icon (in the upper-left) the same as the task bar icon, or do I have to set two differents sized icons?
thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|