![]() SWT provides different Java implementations for each platform, and each of these implementations calls natively (through the Java Native Interface, JNI) the underlying native implementation. Anyway, it differs from AWT in a number of details. This means (among the other things) that it is native-oriented. SWT has been designed to be as inexpensive as possible. SWT delegates to native widgets for common components (such as labels, lists, tables, and so on) as AWT does, while emulating in Java more sophisticated components (for example, toolbars are emulated when running on Motif) similarly to Swing’s strategy. The design strategy of SWT was focused on building a simple, essential library that would produce GUI applications closely coupled to the native environment. For brevity, we will discuss only SWT here. JFace is independent of the given window system, in both its API and implementation, and is designed to work with SWT, without hiding it. This is a GUI library, implemented using SWT, that simplifies common GUI programming tasks. SWT can be seen as a thin wrapper over the native code GUI of the host operating system.Īt a higher level of abstraction, also a part of the Eclipse platform, lies JFace. Despite the tight integration with the native target platform, SWT is an OS-independent API. SWT (Standard Widget Toolkit) is a graphics library and a widget toolkit integrated with the native window system (especially with Windows but Linux and Solaris are supported as well). We will assume the reader is familiar with Swing. In the following section, we will introduce the basics of SWT. ![]() SWT originated as Eclipse’s GUI library, but it can be used outside it as a an alternative GUI library to both Sun’s AWT and Swing. SWT-This library has been developed by IBM as a part of the Eclipse platform.Įclipse is an open-source, IBM-sponsored, fully extensible IDE, built using Java and SWT. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |