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 / June 2005

Tip: Looking for answers? Try searching our database.

JFrame's Title Font

Thread view: 
MrFredBloggs@hotmail.com - 08 Jun 2005 08:27 GMT
Hi All,

How do I change the font of a Frame or Dialog's title.

Fankx,

Fred.
Thomas Weidenfeller - 08 Jun 2005 08:40 GMT
> How do I change the font of a Frame or Dialog's title.

You usually don't, because Java's standard way is to let the window
decoration be painted by the native graphics system, outside of Java's
control.

You can tell Java to paint it them self on some platforms in some PLAFs,
but you still don't have an API. There might be ways to change the font
in this cases, but I never came around to investigate this in detail.
You have to look into the implementation to figure out if there is some
back door, like using HTML labels or properties.

/Thomas

Signature

The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq

MrFredBloggs@hotmail.com - 08 Jun 2005 09:23 GMT
For your most complete answer....

Fankx,

Fred.


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



©2008 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.