You extend any existing Swing Component (basically, anything which starts with "J", like JComponent, JButton, etc.).