draw2d: mousedragged and draw rectangle [message #168176] |
Mon, 14 February 2005 03:35 |
Eclipse User |
|
|
|
Originally posted by: alexander.broekhuis.panalytical.com
Hi all,
I'm trying to create an application that draws a xy graph that has zooming
support. I know of the build in scaling, but I need something more
comples. I a user selects a region that region is shown.
I use a mouselistener to get the start point and end point of the selected
area, but I want to show the user a rectangle that shows the currently
selected area. Can someone tell me how to do that? I created a subclass of
Figure that draws that graph in the paintFigure method.
If someone knows of an existing project that has support for graphs I
really would like to know.
TiA
Alexander
|
|
|
Powered by
FUDForum. Page generated in 0.28121 seconds