The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Building GUIs with SwiXml
Subject:  Platform Independence?
Date:  2006-02-26 14:49:02
From:  joshy
Response to: Platform Independence?


SwiXml is just a layer on top of Swing so you can do anything you can do with Swing, and you are limited by Swing's limitations. For Mac support you still need to set up the correct code to use a single menu bar and register your event handlers with the about, preferences, and quit menus.

For dialogs everything is the same as Swing. Swing has many dialogs but if you want to use the native file dialog you will have to use java.awt.FileDialog. Since this dialog isn't customizable, however, it doesn't matter whether you are using SwiXml or standard Swing code to call it.

 Feed java.net RSS Feeds