Swirrel is a little framework which allows its users to annotate AWT or Swing components in Java and to avoid the painstaking writing of listeners.
Swirrel reads the annotations and attaches the aproriate listeners automatically. All you have to do is to provide the name of the methods which should be called by the Swirrel listener.
Swirrel is a double edged sword, it can make things much easier, but you can shoot yourself in the foot (hey, a sword you can shoot with!). Please consider carefully if Swirrel is right for you and your project.
Don't use Swirrel for deeply nested, complex and/or time critical GUIs. Note that using Swirrel requires more testing, as things that caused compile time errors before cause runtime errors now.
In order to create and attach the listeners, you have to call Swirrel.process (myTopLevelFrame) when your GUI is ready or to use a subclass of JFrame called SwFrame.
The Swirrel listeners are totally normal listeners, you can remove them or add your own ones.
Currently the following listeners are supported:
· ActionListener (actionPerformed)
· FocusListener (focusGained, focusLost)
· KeyListener (keyTyped, keyPressed, keyReleased)
· MouseListener (mouseClicked, mousePressed, mouseReleased, mouseEntered, mouseExited)
· MouseMotionListener (mouseMoved, mouseDragged)
· MouseWheelListener (mouseWheelMoved)
· PropertyChangeListener (propertyChange)
Swirrel 0.4 is a GPL. Please read this article and discover
what exactly does GPL mean.
Whether you're happy or not testing and using Swirrel 0.4, be our guest and let's solve all the problems related to this software together. Feel free to use:
Swirrel 0.4 comments section. No registration required! Please respect the general posting rules and do not abuse our system!
We strongly recommend you to use the following download manager, accelerator and duplicate file manager to avoid any downloading problems:NoClone
FamousWhy is not responsible for the content of the publisher's descriptions or user reviews and comments on this site.
All submitted content and ratings become the sole property of FamousWhy and may not be copied without permission.
We also reserve the rights to approve or refuse the written comments posted on FamousWhy within up to 48 hours.