Home Tutorialhelp Allcomments Java Example Java Swing Settingiconframe

 
 

Comments

 
User Comments for the tutorial:

Setting an Icon for a Frame in Java



Advertisement
Comments

Yes, very helpful info thanx
Yes, very helpful info thanx 

Very helpful example. Thanks!
Very helpful example. Thanks! 

yaa its good
yaa its good 

I am a student in my second Java course at the Uni
I am a student in my second Java course at the University of Phoenix. I have been desperately trying to find a way to set a custom icon within the construct of JOptionPane.ShowMessageDialog. I have looked on Sun's web site, and I have searched high a 

Is it really has to be .gif picture? cause I've tr
Is it really has to be .gif picture? cause I've tried with .ico and .jpg and it didn't work ;( 

Unable to see the image. Pls help. Thanks in
Unable to see the image. Pls help. Thanks in advance 

it is very nice site to understand the concepts of
it is very nice site to understand the concepts of java 

Swing
When i saw this site ,i felt very happy.Because all methos are available with program.  

AN EFFICIENT WAY OF LEARNING JAVA
This tutorial provides an efficient way to learn java.it provides list of chapters incorporated.  

AN EFFICIENT WAY OF LEARNING JAVA
This tutorial provides an efficient way to learn java.it provides list of chapters incorporated.  

No Image
I put an image called "icon_confused.gif" in the same location as the class, but no image is ever showing in the frame. Suggestions or explanations? 

John
WEll I guess, you have to type the complete path of the .gif file.... As an example I am showing : frame.setIconImage(Toolkit.getDefaultToolkit().getImage("F:\\ProjectIcons\\Clipboard.png")); Try this line....  

Working Now
Well,, my last question was wrong, I guess... It is working in both the cases... I juse gave the wrong path....  

Something is not write......
Well, I had two windows, in my project.... When I apply the above said lines on my first window, it is working... but when i write the same thing in my second window, this thing is not working for me.... Hope you can suggest me something..... 

comment over this site
very good site suit both beginners and experts 

hi!!
..thanks for the info... 

to create login screen
how to create login screen in swing  

Setting Icon to Java Frame
this is a nice help to me. But I wanted another thing that by extending JFrame class and without declaring any object of type JFrame changing the titlebar icon. when i tried to do that inside the constructor i fornd a problem that my frame was not  

thank u
i really thank you for your help by this i can learn much 

Java
it is fantastic notes, good luck  

Related Tutorial and Articles
Java Beginners

Thanx - Java Beginners
 

JavaScript Questions

JavaScript Alert YES NO
JavaScript Alert YES NO  How to send an alert to a user to confirm if there request is valid or not? I wants to send the alert message in Java Script.   You can use the confirm() method in Java Script. if (confirm 

Java Beginners

Java to extract info to HTML
Java to extract info to HTML  I need to write a java program that will extract information (events) from .ics files, such as those used in iCalendar... wrong? I am in an intro course to java so my knowledge of the language 

Java Beginners

Swing - Java Beginners
: http://www.roseindia.net/java/example/java/swing/ http://www.roseindia.net/java/example/java/awt/ Hope that it will be helpful for you. Thanks... links: http://www.grandt.com/sbe/ http://www.javafaq.nu/java/free-swing-book 

Java Beginners

plz help -java project very urgent
plz help -java project very urgent  ? Ford furniture is a local... person will get 60% of the value above half price. For example, if a luxury bed.... For example, if a dining set is priced at 3000, and was sold at 30% discount, the sales 

WebSevices Questions

Vendor Info Error - WebSevices
Vendor Info Error  Hi, i wrote the code for Vendor Information using java script. If its full time the vendor info alert box is not displayed. And its contract or contract to hire the alert box is displayed. Tell me 

Java Beginners

Java swing - Java Beginners
Java swing  Hi, I want to copy the file from one directory... will be displayed in the page and progress bar also. Example, I have 10 files... ,its very very urgent 

Java Beginners

Java swing - Java Beginners
Java swing  Hi, I want to copy the file from one directory... will be displayed in the page and progress bar also. Example, I have 10 files... will be displayed. Please send the sample code ,its very very urgent. Thanks 

Swing AWT

Java Dialogs - Swing AWT
visit the following links: http://www.roseindia.net/java/example/java/swing/GrideComponents.shtml http://www.roseindia.net/tutorial/java/swing/springlayout.html http://www.roseindia.net/java/example/java/awt/borderlayout-example 

Java Beginners

Swing Button Example
Swing Button Example  Hi, How to create an example of Swing button in Java? Thanks   Hi, Check the example at How to Create Button on Frame?. Thanks 

Advertisements Advertisements
 

 

 

DMCA.com