File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes windowsUI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "windowsUI" Watch "windowsUI" New topic



Joined: Feb 01, 2002
Posts: 9
I am creating a frontend using java on win nt environment so i have tried inheriting the windows look and feel.but still the icon at the left top corner shows a java icon.Is there a way we can change this
Thanks in advance

Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
Hi Segu,
The little icon that appears on the upper left is independent of look-and-feel. You can easily set it with the setIconImage method of JFrame. The following code shows how to do it.


Joined: Feb 01, 2002
Posts: 9
thank you.
that works well for me
Don't get me started about those stupid light bulbs.
subject: windowsUI
It's not a secret anymore!