repainting on mousepressed



I set up a class that extends JFrame and implements MouseListener. The
class displays a graph, and when the graph is clicked with the mouse
it zooms into the spot that was clicked. The problem is that the
method I call to zoom can have multiple frames, but when calling the
zoom method from the mousepressed method, only the last frame is ever
repainted. When I call the same zoom method from main, each frame is
repainted fine.

.



Relevant Pages

  • Re: repainting on mousepressed
    ... > class displays a graph, and when the graph is clicked with the mouse ... When I call the same zoom method from main, each frame is ... Based on insufficent information, I suspect that you are abusing the Event ...
    (comp.lang.java.gui)
  • Re: 50-200/2.8
    ... That depends on what you use the lens for. ... portrait zoom, like 28-85/2.8. ... full frame? ... wide angle lenses, expecially at 1.6x, so you may have problems shooting ...
    (rec.photo.digital.slr-systems)
  • Re: 50-200/2.8
    ... since 50mm is not wide angle, it should be easier than a wide to ... portrait zoom, like 28-85/2.8. ... depends on what you are shooting. ... full frame? ...
    (rec.photo.digital.slr-systems)
  • Re: Large 2D Graph Additionally
    ... providing access to hw acceleration through a thin layer. ... > Obviously I require usual operations of zoom etc. ... showing the lower and more numerous lower level node/edges only ... The graph will be static as such, ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: ProShow panning??
    ... You'll get the Slide Options dialog panel; Motion Effects is the third item down on the left side. ... I find it easier to select the zoom level first, then you can click and drag the picture within the frame to set which part you want to see. ...
    (rec.photo.digital)