Skip to main content



      Home
Home » Eclipse Projects » GEF » draw2d: mousedragged and draw rectangle
draw2d: mousedragged and draw rectangle [message #168176] Mon, 14 February 2005 03:35
Eclipse UserFriend
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
Previous Topic:how to get the location of an image in a label?
Next Topic:Wizards and errors and undoability.
Goto Forum:
  


Current Time: Mon Jun 23 03:34:24 EDT 2025

Powered by FUDForum. Page generated in 0.28121 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top