Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyPanel extends JPanel {
- //Constructor, etc...
- public void paint(Graphics g) {
- super.paintComponent(g);
- //Graphics code
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement