MATERI PENDUKUNG PENGENALAN SWING Matakuliah : M0074/PROGRAMMING II

advertisement
Matakuliah
Tahun
Versi
: M0074/PROGRAMMING II
: 2005
: 1/0
MATERI PENDUKUNG
PENGENALAN SWING
1
• JBuilder supplies several libraries of
JavaBean components on the component
palette for user interface design, including
– Java AWT
– Java Swing
– JBuilder dbSwing in JBuilder Enterprise
2
• Components in a single library generally
share an important high-level
commonality. Where component features
overlap within or between libraries,
differences in behavior, look and feel, or
requirements of the components can help
3
• For instance, AWT components have the
advantage of being compatible with both
older and newer versions of internet
browsers. They have the disadvantage of
being heavyweight, resulting in sluggish
performance. Swing components have the
advantage of being lightweight, delivering
more sprightly performance.
4
• Browser compatibility is less and less of a
problem as time goes on. The dbSwing
library that JBuilder Enterprise supplies
consists of subclasses of Swing
components that have the added
advantage of a dataSet property and a
columnName property to make the Swing
components data-aware
5
Download