bookmark

swirrel - Swirrel allows to substitute Swing listeners by annotations. - Google Project Hosting


Description

Swirrel is a little framework (in alpha state) which allows to annotate AWT or Swing Components instead of writing 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, especially if it contains deeply nested, complex, dynamic and/or time critical GUIs. Note that using Swirrel requires more testing, as things that caused compile time errors before cause runtime errors now. That said I must say Swirrel runs much smoother than I expected.

Preview

Tags

Users

  • @gresch

Comments and Reviews