LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 07-06-2004, 12:07 AM   #1
randomx
Member
 
Registered: Feb 2003
Location: Hawaii
Distribution: Debian
Posts: 130

Rep: Reputation: 16
Question How to add my custom icon to my JAVA app? on jBuilderX


Hi:

I created the application with extensions *.exe and *.jar.

But both applications came out with the "J" icon embedded. "To run the application *.exe just double-click on the "J" icon. " Bummer...I want to tell people "click on the cool looking icon" to run the application.

How do I put my own icon on my applications using JBuilderX?

Also, How do I add an icon to the top left corner of a frame?

thanks,

randomx
 
Old 07-06-2004, 10:26 AM   #2
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
You can't change the jar icon without changing it for all jars. As for on exe, this is up to jbuilderx (has little to do with java itself). As for the top left corner, use Frame.setIconImage().
 
Old 07-06-2004, 12:19 PM   #3
randomx
Member
 
Registered: Feb 2003
Location: Hawaii
Distribution: Debian
Posts: 130

Original Poster
Rep: Reputation: 16
how would I do it on JBuilderx

Quote:
You can't change the jar icon without changing it for all jars. As for on exe, this is up to jbuilderx (has little to do with java itself)
Yeah...I would like to change that ugly "J" icon for all jar files and *.exe I create. I know it has nothing to with java. It's a jbuilder thing...but their documentation doesn't mention anything about it.

I know you can change the icon of anything after has been set up already. But I want to put my own icon before the application has been created.

How would I do that on JBuilderX?
 
Old 07-06-2004, 12:24 PM   #4
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
The jar icon is a filetype association thing, you can change that easily, but for _all_ jar files, not just yours. The icon for an exe is different, the icon is builtin.
 
Old 07-07-2004, 09:32 PM   #5
randomx
Member
 
Registered: Feb 2003
Location: Hawaii
Distribution: Debian
Posts: 130

Original Poster
Rep: Reputation: 16
Question still no joy

Quote:
The icon for an exe is different, the icon is builtin.
I know it's built-in. I figured that out a long time ago.

But the icon got there through JbuilderX. Not thanks to a manual process I did.

Can you tell me how to make those changes for <b>all the jar files</b> and *.exe in jBuilderX so I can have my own icons or you don't know?

If you know/don't know just say it. No need to play chess and wait for my next move bro.

Thanks for your time by the way,
randomx
 
Old 07-08-2004, 06:58 AM   #6
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
I have no idea how to change the exe icon in jbuilderx. For the jar files, this can be done in Windows via Explorer->Folder Options. One of the tabs has all the filetypes, and from there you change the icon for jars. You can add filetypes there too.
 
Old 07-08-2004, 03:01 PM   #7
randomx
Member
 
Registered: Feb 2003
Location: Hawaii
Distribution: Debian
Posts: 130

Original Poster
Rep: Reputation: 16
Unhappy thanks anyway

My point is exactly the opposite. I do not want to change icons manually.

That's why I need to find out how to do it in jBuilderX before I deploy my applications. Unfortunately, their documentation is completetly silent regarding this issue.

I happen to use Linux (Am I in the right place right ) . All my jar files will run on Linux. I don't have the explorer ( ? ) capability but I guess your point is that I need change icons manually. I'm tired of doing that. That's why I asked if I could do that straight from jBuilderX.

The executables *.exe will run on emulators and virtual machines. Same situation. I don't want to tell people to change the icons manually.

randomX
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add a device driver into custom redhat 9 install cd zhchang Linux - Hardware 3 03-31-2010 02:57 AM
Athlon 64 performance gain for custom FPU-intensive app? Entropius Linux - Hardware 2 08-15-2004 05:30 AM
How can I add custom data to my executable bestofmed Programming 3 07-29-2004 03:24 AM
How do I add an App to Bookmarks esage Mandriva 3 09-25-2003 07:51 PM
create a icon shortcut for my app in blackbox yenonn Linux - Software 7 08-16-2003 04:30 AM


All times are GMT -5. The time now is 07:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration