View previous topic :: View next topic |
Author |
Message |
JustinHoMi Tux's lil' helper
Joined: 21 Apr 2005 Posts: 97
|
Posted: Sat Apr 30, 2005 10:35 pm Post subject: java applications don't look right |
|
|
Hey,
I just installed a couple of java applications (jbidwatcher, jedit, others...) and they don't look right. The spacing inbetween gui elements is wrong. Many of the elements are too tall, it seems. I've never had this problem with java on my old fedora boxes, so I have no idea what it might be.
Any ideas?
Justin |
|
Back to top |
|
|
Xitup n00b
Joined: 21 Apr 2005 Posts: 6
|
Posted: Sun May 01, 2005 6:24 am Post subject: |
|
|
I noticed the same thing using the default blackdown jre. I switched to the sun version and everything looks fine. |
|
Back to top |
|
|
JustinHoMi Tux's lil' helper
Joined: 21 Apr 2005 Posts: 97
|
Posted: Sun May 01, 2005 7:29 am Post subject: |
|
|
Hm, I think I'm running the blackdown one also... whatever is installed by default. |
|
Back to top |
|
|
jeffmccoy n00b
Joined: 22 Jan 2005 Posts: 7 Location: Washington DC
|
Posted: Wed Jun 08, 2005 1:50 pm Post subject: |
|
|
I'm running blackdown and there is a relatively easy fix for the spacing problem - I googled around and found this on the blackdown java lists.
Search for the file "jre/lib/font.properties" file. I had two of these files, I think because I'd installed both the runtime environment and the sdk. Anyway, depending on what you installed, look in that directory, find a lib directory, find the font.properties file. If there are two, edit both.
In the font.properties file, there should be two lines for each font, one with a 0 and the other with a 1:
Code: | serif.0=-lots of font code here
serif.1=-lots of font code here |
Go through the file and comment out all of the lines with a "1"
Code: | serif.0=-lots of font code here
#serif.1=-lots of font code here |
The spacing problems should be solved. |
|
Back to top |
|
|
sharm n00b
Joined: 12 Jun 2003 Posts: 24
|
Posted: Sun Jul 03, 2005 1:30 pm Post subject: |
|
|
Thanks! That was bugging the hell out of me. Your solution worked perfectly. Just a quick note...
If you have blackdown-jre AND blackdown-jdk installed, you will need to change the file located at
Code: | /opt/blackdown-jdk-1.4.2.01/jre/lib/font.properties |
That one fixed it for me. Just to be safe, I changed the jre one, too:
Code: | /opt/blackdown-jre-1.4.2.01/lib/font.properties |
Again, thanks! |
|
Back to top |
|
|
|