Re: Graphical editor - question
From: Tor Iver Wilhelmsen (tor.iver.wilhelmsen_at_broadpark.no)
Date: 07/15/04
- Next message: Bora Eryilmaz: "Make a JDialog appear in the Windows Taskbar"
- Previous message: Robert Tyrie: "Re: Graphical editor - question"
- In reply to: Andreas Beresko: "Re: Graphical editor - question"
- Next in thread: Robert Tyrie: "Re: Graphical editor - question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Jul 2004 15:40:52 +0200
"Andreas Beresko" <Andreas.Beresko@t-online.de> writes:
> but one question (need no example, just a yes or no): is it possible to draw
> a rectangle with 2d api and capture a mouse event only on this rectangle? i
> can't image, because a rectangle is not a window like a JPanel ...
No, but you can use inside() etc. to test if a mouse event (on the
component as a whole) is inside the rectangle.
- Next message: Bora Eryilmaz: "Make a JDialog appear in the Windows Taskbar"
- Previous message: Robert Tyrie: "Re: Graphical editor - question"
- In reply to: Andreas Beresko: "Re: Graphical editor - question"
- Next in thread: Robert Tyrie: "Re: Graphical editor - question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|