|
|
How change default Java app buttons?
|
|
|
|
Dedicated MacNNer
Join Date: Feb 2003
Status:
Offline
|
|
Hi. I've installed Britannica 2005 which is Java based. The print, notes, etc, buttons on the main form are Unix Motif style. Any way of changing those?
I found the file (Britannica.ini) and a reference to one of the buttons. But there's no directory for images and no png anywhere.
InternalArticleHeader.note.dim=images/bcd05_toolbar_takenote_dim.png
Where would I find this png then? Is it bundled up in like images.data? If so, any way to get the png in there?
Thanks!
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Oct 2001
Status:
Offline
|
|
Java has several styles built into it that the programmer can choose. If you don't like it, you can either search for a preference inside the application, or ask them to change the source code. I don't know of any other way to get around it.
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Feb 2003
Status:
Offline
|
|
Thanks for helping out. I found the reference to the buttons I want to change as you see in the Toolbar line of code I enclosed. But I can't find the png, so it's either in Java itself, or buried in a image package file. I think the latter. Either way, how get to it??
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Oct 2001
Status:
Offline
|
|
Ok, I think I might have misunderstood you. Do you want to change the entire "look and feel" of the application (to make it seem like an Aqua app)? Or do you just want to change a few icons? If you want to just change some icons, then they're most likely held within the jar file itself (which is an archive). You'll have to extract all the files from the jar file (using the command 'jar -xf asdf.jar'). Then you'll see several folders. Your icon might be in one of the folders you see (search all of them using OS X's search feature). The hard part is putting it all back together once you've made the change to the icons (make sure the icon you switched has the same name as the one you replaced). You'll need to use the 'jar' command again and specify the 'manifest' file (which you'll be able to find in a folder with a similar name after extracting all the files, like "MANIF-F" or something).
If this is what you want to do, search google on how to use the 'jar' command.
But, you can't change the "look and feel" of the application without altering the source (which you don't have).
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Feb 2003
Status:
Offline
|
|
I just want to change 5 navigation buttons on the main navigation window. All references in the same style as above. Your advice seems in the right direction, only I've opened all the jar files I can find and it's all code, no images of any sort. When looking at the britannia.ini file which specifies the button images, it and every other image starts with "images/file_name". But where are those images kept is the key?? I see several files names images, but their extension is images.data and won't open to anything I have.
I'm not trying to change the look and feel. Just those 5 buttons which I have now found referenced in the ini file.
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Oct 2001
Status:
Offline
|
|
Well, I'm all out of ideas here. Is this really important?
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Feb 2003
Status:
Offline
|
|
Well, I'm all out of ideas here. Is this really important?
In the scheme of things like peace in the Middle East, I guess not. Just bugged by the OS inconsistency (Motif on Aqua/Panther). I'll keep plugging away with it and my experience is things usually work out. Thanks for the help.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|