The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

about stylesheet

Posted by Rach on December 10, 2001 at 1:57 PM

anyone knows what this function does...

in class StyleSheet

public void setBaseFontSize(String size), or
public void setBaseFontSize(int size)

and in this function...

public float getPointSize(String size)
Given a string such as "+2", "-2", or "2", returns a point size value.
how about if I want to set size of 2 to be 13 in point size value. how can I do that?

thanks,
Rach





Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us