which library better for faster java application swt or swing?
Today, both frameworks are fast. I suggest to check these criteria:
- SWT is more simple to use than Swing (especially if this is your first UI)
- Swing is older and you can find more components
- If you also use JFace, you will find many powerful widgets that work out of the box (where you would need a lot of additional configuration in Swing).
- Swing is available anywhere, SWT is not
- SWT is developed actively, you have the source and bugs are fixed quickly. Swing hasn't been touched in years, then there was suddenly a big update for Java 6. If you have an issue with Swing, well, Sun probably doesn't care.
- If you choose Swing, use a framework like SwingX. This will make your life much more simple.