Jasper Reports Developer Question:

Download Job Interview Questions and Answers PDF

Do heavy weight components mean in Java Programming?

Jasper Reports Developer Interview Question
Jasper Reports Developer Interview Question

Answer:

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 heavyweight.

Download Jasper Reports Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain the difference between Boolean & operator and the && operator in Java Programming?How the Observer and Observable used in Java Programming?