2 questions ( semicolon after empty methods and paint()/paintComponent())
1. Is there any difference writing:
publicvoid mouseEntered(MouseEvent e){};
publicvoid mouseMoved(MouseEvent e){};
publicvoid mouseClicked(MouseEvent e){};
publicvoid mouseExited(MouseEvent e){};
than
publicvoid mouseEntered(MouseEvent e){}
publicvoid mouseMoved(MouseEvent e){}
publicvoid mouseClicked(MouseEvent e){}
publicvoid mouseExited(MouseEvent e){}
2.
I have a JPanel which I change the graphical look of very often in my application.
What's the difference if I override paint() or paintComponent() in my JPanel?

