Re: Automatically resize font when component size changes?
- From: "Andrew Thompson" <andrewthommo@xxxxxxxxx>
- Date: 19 Mar 2007 15:59:05 -0700
On Mar 20, 2:44 am, larkm...@xxxxxxx wrote:
Is there a simple way to figure out what the biggest font size is that
can display a given text string on a given size component (JLabel,
etc.)?
Take a look at..
<http://java.sun.com/javase/6/docs/api/java/awt/FontMetrics.html>
Andrew T.
.
- Follow-Ups:
- Re: Automatically resize font when component size changes?
- From: larkmore
- Re: Automatically resize font when component size changes?
- References:
- Automatically resize font when component size changes?
- From: larkmore
- Automatically resize font when component size changes?
- Prev by Date: Graphics transforms
- Next by Date: Re: Graphics transforms
- Previous by thread: Automatically resize font when component size changes?
- Next by thread: Re: Automatically resize font when component size changes?
- Index(es):
Relevant Pages
|
|