Article View: borland.public.jbuilder.linux
Article #277Re: font problems
From: Paul Nichols (TeamB)
Date: Fri, 08 Oct 2004 20:25
Date: Fri, 08 Oct 2004 20:25
32 lines
1902 bytes
1902 bytes
"Steve Shapiro" <sshapiro@rosettatechnologies.com> wrote in message
news:4166a3fb$1@newsgroups.borland.com...
> Howdy All!
>
> I have developed a jbuilder application on a Windows 2000 platform and it
> works and displays fine.
>
> I created a jar file and copied it to my Linux system, and when I run the
> application, it works fine, but it doesn't display properly.
>
> The fonts are too large and many of the labels are truncated.
>
> I have tried a variety of things, but no matter what I do, the displayed
> fonts don't change.
>
Are you using non standard fonts? If so, you would have to make sure that
the same fonts are installed in the font directory of the Unix/Linux box.
See the /usr/java/<jre>/lib/fonts folder on the Unix boxes.
Also, make sure that you are using the PluggableLookAnd Feel for xPlatform
work.
Example:
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
}
catch(Exception e) {
e.printStackTrace();
}
Technical Details
Message-ID:
<4166f7aa$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!irazu.switch.ch!switch.ch!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4166a3fb$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 107590,5651bf7a3c66224c X-Google-Attributes: gid107590,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Paul Nichols \(TeamB\)" <paul@computer-logic.net> Newsgroups: borland.public.jbuilder.linux References: <4166a3fb$1@newsgroups.borland.com> Subject: Re: font problems Date: Fri, 8 Oct 2004 15:25:16 -0500 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 66.20.208.2 Message-ID: <4166f7aa$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1097267114 66.20.208.2 (8 Oct 2004 13:25:14 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!irazu.switch.ch!switch.ch!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail