Home » Unlabelled » Why does JComponent have add() and remove() methods but Component does not? | Core Java
Monday, 13 February 2012
Why does JComponent have add() and remove() methods but Component does not? | Core Java
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