Swixml Sample Code

Java and XML Sample Code

  1. HelloWorld: Small Sample with Label, TextField, Button, and Submit Action
  2. HelloMac: Small Sample, showing a some Mac features.
  3. Eventhandling: Actions and ActionCommands
  4. Accelerators and Mnemonics
  5. Layout Managers
  6. Swixml and Localization
  7. How to do Applets with Swixml
  8. Extend the Swixml TagLibrary with your own tags
  9. ComboBox Tag with an initclass attribute.

    The initclass is loaded, an instance is obtained and passed into the constructor of the tag’s implementing class.

  10. List Tag with an initclass attribute.

    The initclass is loaded, an instance is obtained and passed into the constructor of the tag’s implementing class.

  11. Swixml now understands some XPointer / XInclude syntax
  12. Custom Tags
  13. Action Generator( public void myMethod() {..} instead of having to define public Action members.

摘自『http://swixml.org/samples/index.html』

GitHubhttps://github.com/bsorrentino/swixml2
The goals of project is both to extend the original swixml project providing integration with Swing Application Framework (JSR 296) and Beans Binding (JSR 295) to further simplifying the GUI creation & management and to provide a strict integration with maven

No Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

粤ICP备15062915号-1