NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

Re: drawing text in a window

Hi Donna,

> Mainly my problem is that visad wants to make my color bar a
> square, and if I try to make it long and skinny using the projection
> control aspect ratio, then my labels get squished as well.

Use ProjectionControl.setAspectCartesian() instead of
setAspect(). That should fix the text squeezing.

Cheers,
Bill