B
B. Clay
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?
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?