|
Hi Charles, the SVGCanvas has an
ActionMap where most of the interactors (i.e. the actions which are responsible
for zooming/paning etc) are listed and you can add these Actions to your
JButtons: JButton btnMagPlus = new
JButton(); btnMagPlus.addActionListener(canvas.getActionMap().get(SVGCanvas.ZOOM_IN_ACTION)); So when you press the
button, the canvas does zoom in. Dominik Steiner Dipl-Ing. Informationstechnik (BA) GIGATRONIK Gesellschaft für Automobil- elektronikentwicklung mbH Taunusstr. 21 80807 München Telefon +49 (0) 89 / 353 96 80-70 Telefax +49 (0) 89 / 353 96 80-99 Von: Charles Abreu
[mailto:[EMAIL PROTECTED] Hello! |
- AW: JSVGCanvas Steiner, Dominik
- Re: JSVGCanvas Charles Abreu
