Relative Positioning of a Point

From: B. Clay (billclay101_at_hotmail.com)
Date: 03/03/04


Date: 2 Mar 2004 21:11:56 -0800

I'd like to be able to place a point (g.fillOval) in a relative
position in a pane, rather than an absolute one. Is there a good way
to do this?

For example, if the pane is 100x100, and I put the point at 10,10, if
the user resizes such that the pane ends up as 200x200, I want the
point to be at 20,20.

Thanks.

P.S. - I've been unable to access the java website tutorials and API
for a few days. Anyone else having this problem?



Relevant Pages