Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to set font for JFrame titles?

1,541 views
Skip to first unread message

v98...@my-deja.com

unread,
May 29, 2000, 3:00:00 AM5/29/00
to
Hi,

I need to change font name and font size of a JFrame title.
I tried setFont(), but it has no effect on title. Everything else is ok.
Please help. Thanks very much.

Victor


Sent via Deja.com http://www.deja.com/
Before you buy.

David M. Karr

unread,
May 30, 2000, 3:00:00 AM5/30/00
to
>>>>> "v98765" == v98765 <v98...@my-deja.com> writes:

v98765> Hi, I need to change font name and font size of a JFrame title. I
v98765> tried setFont(), but it has no effect on title. Everything else is
v98765> ok. Please help. Thanks very much.

The font used to display the title of a frame is determined by your window
manager. It's not controllable from within your Java application. For
instance, in Windows, you can right-click on the root window and select
"Properties", and then the "Appearance" tab, then click on "Active Window" in
the simulated active frame, then set the font parameters in the fields below.
Other window managers will have different configuration methods.

0 new messages