Home » Unlabelled » Why does JComponent have add() and remove() methods but Component does not? | Java Swings
Saturday, 18 February 2012
Why does JComponent have add() and remove() methods but Component does not? | Java Swings
JComponent have add() and remove() methods but Component does not because JComponent is a subclass of Container, and can contain other components and jcomponents.
No comments:
Post a Comment