aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Customizing window icons... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Customizing window icons..." Watch "Customizing window icons..." New topic
Author

Customizing window icons...

Tad Dicks
Ranch Hand

Joined: Nov 16, 2004
Posts: 264
In the top left corner of each frame/window is an icon. Is there a way to customize/change this? Also is there a way to customise the background color/image on a frame?

-Tad
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15290
    
    6

Both these questions are pretty basic "I am learning Swing" questions and have been asked a lot of times. Often you can save yourself some time simply by searching this forum.

Here is but 1 thread found from searching for "Frame Icon". There were 200 results.


GenRocket - Experts at Building Test Data
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15290
    
    6

Something else that is helpful is glancing through the methods for a particular component in the API.

I don't say this to discourage you from asking questions. I only bring up these points so that you aren't sitting around waiting for people to answer your questions.
Tad Dicks
Ranch Hand

Joined: Nov 16, 2004
Posts: 264
I did a few searches and came up with nothing... maybe I was being to specific. I've found setFrameIcon for internal frames but couldn't find anything for JFrames or just windows.

-Tad
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Customizing window icons...
 
Similar Threads
JDialog
Is there a way to find out color of whatever's behind my frame?
Displaying an image without the title bare.
why won't my pop up window close?
Container