Painting things on a JPanel class from another class?

Printable View