Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Why wont ImageIcons work
Why wont ImageIcons work [message #1858676] Sat, 15 April 2023 16:01 Go to next message
Billy Estes is currently offline Billy EstesFriend
Messages: 15
Registered: April 2023
Junior Member
I created a jframe and am trying to put a icon in the top bar this is my code
ImageIcon image = new ImageIcon("free_icon_1.jpg");
i have my icon in the directory that the main method is in just starting out anyhelp would be appreciated
Re: Why wont ImageIcons work [message #1858682 is a reply to message #1858676] Sun, 16 April 2023 06:59 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33163
Registered: July 2009
Senior Member
This sounds like a general Java question about AWT which would be better asked in a general forum such as stackoverflow. Note that you didn't actually provide enough information, i.e., what is the problem and what would you like to know? How might someone reproduce your problem?

Ed Merks
Professional Support:
Previous Topic:Rellinks in Eclipse
Next Topic:started tutorial
Goto Forum:

Current Time: Mon Jun 17 07:19:23 GMT 2024

Powered by FUDForum. Page generated in 0.08628 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top