Because these components are implemented at a high level, they’re referred to
as lightweight components. These components look the same on any operating system
that supports the JVM. This cross-platform look-and-feel is shown graphically
in figure 1.1, and it looks and behaves identically whether it’s running on Windows,
Macintosh, or *nix platforms.
But this approach has drawbacks. Because the JVM micromanages every aspect
of the GUI’s appearance and behavior, the application runs more slowly than if it
relied on the operating system. Also, most users like the way their operating system
looks and prefer that their Java applications resemble their other platformspecific
(or native) applications.
posted on 2005-10-13 06:17  java  阅读(313)  评论(0编辑  收藏  举报