Java School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a Java Expert!

Join 306,814 Java Programmers for FREE! Get instant access to thousands of Java experts, tutorials, code snippets, and more! There are 1,670 people online right now. Registration is fast and FREE... Join Now!




Window Icon - Solved

 

Window Icon - Solved, Change the Image in top left corner, the Window Icon

Fuzzyness

22 May, 2009 - 01:01 PM
Post #1

Comp Sci Student
Group Icon

Joined: 6 Mar, 2009
Posts: 1,183



Thanked: 181 times
Dream Kudos: 150
My Contributions
Ok, so I am looking for a way to change the Icon of the window to a Logo that I have. Anyone have suggestions or know a way to do it? I have tried to use setImageIcon but I just couldnt get it to work for some reason. If you have a little snippet that would be cool.

Thanks in Advance!


Edit - Solved**

when I was calling setIconImage(newImageIcon("secLogo.gif")) I needed to add onto that, that wasnt end of call. that only makes thhe image, so i have to add this onto it: .getImage(); Works now. Thanks though guys!!

This post has been edited by Fuzzyness: 22 May, 2009 - 01:15 PM

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/20/09 10:04PM

Live Java Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Java Tutorials

Reference Sheets

Java Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month