Copyright (c) SEMM NL All rights reserved.
Author : Paul Hamaker. Part of

JButton, JLabel, JTextField and many more are derived from java.awt.Component, so they inherit most of its methods.

When the mouse is clicked on one of the three components, some interesting Component methods are called.

The applet itself can be clicked on, too, because it's contentpane is also a Component.

You are invited to carefully inspect the values that these methods return in the JTextArea.

Most methods have corresponding set- versions to change the values.




The text-strings in the textarea all result from calls to toString methods : Font's, Color's, Point's etc.