My web site - Java Swing O Reilly public final void putClientProperty(Object
Java Swing O Reilly public final void putClientProperty(Object key, Object value) Inserts the specified client property value under the appropriate key. If the value passed in is null, the property is cleared from the list. 3.3.4.8 Event Handlers protected void processFocusEvent(FocusEvent e) Sets an internal flag that indicates whether the JComponent has gained or lost the focus. You can override this method in a subclass to determine how your component reacts to super.processFocusEvent(). protected void processComponentKeyEvent (KeyEvent e) This method currently does nothing. You can override it if you want to handle KeyEvents in your component independent of those consumed by the focus handler and key listeners. If you handle any KeyEvent notifications in this method, be sure to consume them. protected void processKeyEvent(KeyEvent e) Handles the key events for each component. It first checks with the focus manager to see if it can consume the key event, then checks for any interested listeners, and (if it has not been consumed) invokes the processComponentKeyEvent() above. If the key event still has not been consumed at this point, it will check to see if there are any keyboard actions registered with the component. protected void processMouseMotionEvent(MouseEvent e) Tracks mouse drags in the event that the Swing component supports autoscrolling. You can override this method in a subclass to determine how your component reacts to mouse motion events. If you do so, be sure to call super.processMouseMotionEvent(). 3.3.4.9 Miscellaneous protected void setUI(ComponentUI u) Installs u as the UI delegate for the component, effectively changing the component’s look- and-feel. This change doesn’t appear onscreen until updateUI() is called. public void updateUI() Called by the current UIManager to notify the component that the look-and-feel for the component has changed, and the UI delegate should repaint itself. public void addNotify() Called by Swing to notify the component that it has gained a parent. The method fires a notification to all AncestorListeners, passing in a reference to the new parent component. The parent component (and its ancestors) inherit each of the appropriate keyboard actions and AWT event masks, as appropriate. addNotify() also fires a property change event indicating that the “ancestor” property has changed. - 73 -
Note: If you are looking for high quality webhost to host and run your jsp application check Vision jsp web hosting services