Alright, been trying for at least an hour.
I want to be able to add functions to a JPanel
JPanel a = new JPanel();
or something like that.
Is this even possible?
I am getting sick of overiding the paint method for every panel I create and now would like to have an external class that could do this instead of having it bloat up my main interface code.