Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / January 2004

Tip: Looking for answers? Try searching our database.

Default font face and size

Thread view: 
Manolis Christodoulou - 15 Jan 2004 21:07 GMT
When I run a JDialog from within netBeans (internal execution) it has
different font faces and sizes of what I get when I run it from command
line or within netBeans external execution. So I suppose there is a
global default font and size for the java vm... I wonder where is it?

I searched but didn't manage to find it. Please help.
Andrew Thompson - 16 Jan 2004 00:29 GMT
| When I run a JDialog from within netBeans (internal execution) it has
| different font faces and sizes of what I get when I run it from command
| line or within netBeans external execution. So I suppose there is a
| global default font and size for the java vm... I wonder where is it?

Wherever it is, you should not try
to fight it.  Users who tell there system
to increase the font size do so for a
good reason.

You _are_ designing your dialogs so
that they accommodate any sized text
..aren't you?

--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site
hiwa - 16 Jan 2004 03:37 GMT
> When I run a JDialog from within netBeans (internal execution) it has
> different font faces and sizes of what I get when I run it from command
> line or within netBeans external execution. So I suppose there is a
> global default font and size for the java vm... I wonder where is it?
>
> I searched but didn't manage to find it. Please help.
Swing UI defaults can be get and set through UIDefaults object, which
is an Hashtable. Call UIManager.getDefaults() and serch with the key
having form 'Xxx.font'.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.