- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
public class CoreLoop
extends java.lang.Object
implements java.awt.event.ActionListener
Each MapCanvas instance has a core rendering loop. Everything happens within this loop, from mouse and keyboard event handling, to interaction and layer display. This loop runs within the Swing event thread. So care should be taken that any update/render operations should complete quickly, to prevent the UI from frozen. Any time consuming task, such as loading data from MapViewer data server, should take place in a separate thread, and update the corresponding layer when done.