Alright, been trying for at least an hour.
I want to be able to add functions to a JPanel
Example,
JPanel a = new JPanel();
a.setTransparency(color, strength);
or something like that.
a.myFunction(parameters)
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.
Thanks