Results 1 to 2 of 2
Thread: [SOLVED] JFrame Image Icon
- 11-23-2008, 09:51 PM #1
Member
- Join Date
- Nov 2008
- Posts
- 7
- Rep Power
- 0
[SOLVED] JFrame Image Icon
Hi I tried to change the icon in the titlebar but I couldn't find that option for a JFrame.
I also use internal frames and in those frames I can change the image icon.
I even tried a code in the JFrame but it didn't work
Does anybody know how I can change the icon in the JFrame titlebar?Java Code:ImageIcon ImageIcon = new ImageIcon("../images/grademystudent_16x16.png"); Image Image = ImageIcon.getImage(); this.setIconImage(Image);
- 11-24-2008, 10:53 AM #2
Member
- Join Date
- Nov 2008
- Posts
- 7
- Rep Power
- 0
Similar Threads
-
Add an image to JFrame
By Eranga in forum AWT / SwingReplies: 4Last Post: 02-01-2010, 03:09 PM -
can display image in JFrame?
By xCLARAx in forum AWT / SwingReplies: 14Last Post: 04-03-2009, 07:02 PM -
Problem in setting icon for JFrame!
By pranav13 in forum AWT / SwingReplies: 8Last Post: 11-04-2008, 05:24 AM -
Image size in a JFrame
By nickbeacroft in forum AWT / SwingReplies: 2Last Post: 06-26-2008, 04:08 PM -
how to remove an image icon
By cecily in forum Advanced JavaReplies: 1Last Post: 08-05-2007, 04:25 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks