All custom components in Swing extend JComponent.
JPanel extends JComponent. The basic functionality it adds it the painting of the background.
So since you are doing custom painting I would suggest you don't need to extend JPanel for that feature, you can add that support yourself. Then when you create your object its more efficient since the JVM doesn't need to create a JPanel object.