Generated by
JDiff

Class javax.swing.JComponent

Removed Methods
boolean isFocusCycleRoot() Override this method and return true if your component is the root of of a component tree with its own focus cycle.
 

Added Methods
AncestorListener[] getAncestorListeners() Returns an array of all the ancestor listeners registered on this component.
Locale getDefaultLocale() Returns the default locale used to initialize each JComponent's locale property upon creation.
PropertyChangeListener[] getPropertyChangeListeners() Returns an array of all the PropertyChangeListeners added to this Component with addPropertyChangeListener().
PropertyChangeListener[] getPropertyChangeListeners(String) Returns an array of all the listeners which have been associated with the named property.
TransferHandler getTransferHandler() Gets the transferHandler property.
VetoableChangeListener[] getVetoableChangeListeners() Returns an array of all the vetoable change listeners registered on this component.
boolean requestFocus(boolean) JComponent overrides requestFocus solely to make the method public so that UI implementations can cause temporary focus changes.
boolean requestFocusInWindow(boolean) JComponent overrides requestFocusInWindow solely to make the method public so that UI implementations can cause temporary focus changes.
boolean requestFocusInWindow()  
void setDefaultLocale(Locale) Sets the default locale used to initialize each JComponent's locale property upon creation.
void setTransferHandler(TransferHandler) Sets the transferHandler property which is null if the component does not support data transfer operations.
 

Changed Methods
Component getNextFocusableComponent() Now deprecated.
As of 1.4, replaced by FocusTraversalPolicy.
boolean hasFocus() Method was locally defined, but is now inherited from Component. Returns true if this Component is the focus owner.
void hide() Method was locally defined, but is now inherited from Component. As of JDK version 1.1, replaced by setVisible(boolean).
boolean isFocusTraversable() Method was locally defined, but is now inherited from Component. Now deprecated.
As of 1.4, replaced by isFocusable().
boolean isManagingFocus() Now deprecated.
As of 1.4, replaced by Component.setFocusTraversalKeys(int, Set) and Container.setFocusCycleRoot(boolean).
void processFocusEvent(FocusEvent) Method was locally defined, but is now inherited from Component. Processes focus events occurring on this component by dispatching them to any registered FocusListener objects.
boolean requestDefaultFocus() Now deprecated.
As of 1.4, replaced by FocusTraversalPolicy.getDefaultComponent(Container).requestFocus()
void setNextFocusableComponent(Component) Now deprecated.
As of 1.4, replaced by FocusTraversalPolicy