# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: C:\Users\Franz\Documents\NetBeansProjects\JOSM-Plugins\core\src\org\openstreetmap\josm\gui
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
|
|
|
|
| 383 | 383 | final double frames = milliseconds * fps / 1000; |
| 384 | 384 | final EastNorth finalNewCenter = newCenter; |
| 385 | 385 | |
| 386 | | new Thread( |
| 387 | | new Runnable() { |
| | 386 | new Thread(){ |
| | 387 | @Override |
| 388 | 388 | public void run() { |
| 389 | 389 | for (int i=0; i<frames; i++) |
| 390 | 390 | { |
| … |
… |
|
| 393 | 393 | try { Thread.sleep(1000 / fps); } catch (InterruptedException ex) { }; |
| 394 | 394 | } |
| 395 | 395 | } |
| | 396 | }.start(); |
| 396 | 397 | } |
| 397 | | ).start(); |
| 398 | 398 | } |
| 399 | | } |
| 400 | 399 | |
| 401 | 400 | public void zoomToFactor(double x, double y, double factor) { |
| 402 | 401 | double newScale = scale*factor; |