The peer interfaces are intended only for use in porting the AWT. They are not intended for use by application developers, and developers should not implement peers nor invoke any of the peer methods directly on the peer instances.
DEPRECATED: Replaced by setEnabled(boolean).
DEPRECATED: Replaced by setEnabled(boolean).
DEPRECATED: Replaced by setVisible(boolean).
Returns whether this peer supports reparenting to another parent withour destroying the peer
Return
true if appropriate reparent is supported, false otherwise
@since
1.5
Used by lightweight implementations to tell a ComponentPeer to layout its sub-elements. For instance, a lightweight Checkbox needs to layout the box, as well as the text label.
DEPRECATED: Replaced by getMinimumSize().
DEPRECATED: Replaced by getPreferredSize().
Reparents this peer to the new parent referenced by newContainer peer Implementation depends on toolkit and container.
Parameters
newContainerpeer of the new parent container
@since
1.5
DEPRECATED: Replaced by setBounds(int, int, int, int).
DEPRECATED: Replaced by setVisible(boolean).