Relative Positioning of a Point
From: B. Clay (billclay101_at_hotmail.com)
Date: 03/03/04
- Next message: Michael Tomlinson: "Re: datetime exception 0xC0000008 JRE 1.4 windows"
- Previous message: Ryan Stewart: "Re: no popup"
- Next in thread: nos: "Re: Relative Positioning of a Point"
- Reply: nos: "Re: Relative Positioning of a Point"
- Reply: Thomas Weidenfeller: "Re: Relative Positioning of a Point"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
- Next message: Michael Tomlinson: "Re: datetime exception 0xC0000008 JRE 1.4 windows"
- Previous message: Ryan Stewart: "Re: no popup"
- Next in thread: nos: "Re: Relative Positioning of a Point"
- Reply: nos: "Re: Relative Positioning of a Point"
- Reply: Thomas Weidenfeller: "Re: Relative Positioning of a Point"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|