< Zurück | Inhalt | Weiter >

17.2.3 Portability: Better and Worse

image

How about portability? Well, it depends on what “portability” means to you. If portability means “looks and runs the same on all platforms,” then Swing offers better portability. If portability means “runs on all platforms for which there is a Java runtime,” then Swing offers better portability. If portability means “looks like a native application on all supported platforms,” then SWT is your choice. Make your selection accordingly.



TIP

The bottom line: If you only learn one Java GUI, make it Swing.