Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
java applications don't look right
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
JustinHoMi
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2005
Posts: 97

PostPosted: Sat Apr 30, 2005 10:35 pm    Post subject: java applications don't look right Reply with quote

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
View user's profile Send private message
Xitup
n00b
n00b


Joined: 21 Apr 2005
Posts: 6

PostPosted: Sun May 01, 2005 6:24 am    Post subject: Reply with quote

I noticed the same thing using the default blackdown jre. I switched to the sun version and everything looks fine.
Back to top
View user's profile Send private message
JustinHoMi
Tux's lil' helper
Tux's lil' helper


Joined: 21 Apr 2005
Posts: 97

PostPosted: Sun May 01, 2005 7:29 am    Post subject: Reply with quote

Hm, I think I'm running the blackdown one also... whatever is installed by default.
Back to top
View user's profile Send private message
jeffmccoy
n00b
n00b


Joined: 22 Jan 2005
Posts: 7
Location: Washington DC

PostPosted: Wed Jun 08, 2005 1:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
sharm
n00b
n00b


Joined: 12 Jun 2003
Posts: 24

PostPosted: Sun Jul 03, 2005 1:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum