Package examples

Class ActionMapExample


public class ActionMapExample extends SingleFrameApplication
This is a very simple example of a reusable @Actions class. The code defines a JComponent subclass called BaseScenePanel that defines two @Actions: create and remove, that add/remove an icon from the scene panel. These actions are added to a right button popup menu for the component. [TBD: demo resource shadowing too]