File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes JFrame Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JFrame" Watch "JFrame" New topic
Author

JFrame

Selvan tiru
Greenhorn

Joined: Jul 12, 2001
Posts: 18
How do we change the java icon in the title
bar ( Top left) of JFrame to a custom icon. company logo.
Used JDK to code though!!!
Selvan
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
Originally posted by Selvan tiru:
How do we change the java icon in the title
bar ( Top left) of JFrame to a custom icon. company logo.
Used JDK to code though!!!
Selvan

This isn't my area of expertise, but I believe you can use the setIconImage method inherited from from Frame.
I hope that helps,
Corey


SCJP Tipline, etc.
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
If you need more help, click the link. You can also do a search in the swing forum. This has been asked a few times there.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JFrame