Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What is the difference between a Window and a Frame?
What is the difference between a Window and a Frame?
✍: Guest
Heavy weight components like Abstract Window Toolkit (AWT), depend on the local windowing toolkit. For example, java.awt.Button is a heavy weight component, when it is running on the Java platform for Unix platform, it maps to a real Motif button. In this relationship, the Motif button is called the peer to the java.awt.Button. If you create two Buttons, two peers and hence two Motif Buttons are also created. The Java platform communicates with the Motif Buttons using the Java Native Interface. For each and every component added to the application, there is an additional overhead tied to the local windowing system, which is why these components are called heavy weight.
2012-07-16, 2752👍, 0💬
Popular Posts:
Can a variable be both const and volatile? Yes. The const modifier means that this code cannot chang...
What are urlencode() and urldecode() functions in PHP? string urlencode(str) - Returns the URL encod...
Why is it preferred to not use finalize for clean up? Problem with finalize is that garbage collecti...
What is the purpose of Replication ? Replication is way of keeping data synchronized in multiple dat...
What is the difference between "printf(...)" and "sprintf(...)"? sprintf(...) writes data to the cha...