Well it's not giving me an error, but it's just not creating the graphics object.
The first code is my main program (where the run() method is). At the bottom of it I define 'p' to create my object from my other class (the second code) and it's not appearing.
It all works fine if I create my graphics from the main class, but I thought doing everything from the main class is bad style. I don't think I'm referencing my second class wrong, so idk what to change
Edit: is there a more common graphics library I should be using to get familiar with using? I'm still learning java so I don't want to get really experienced with a library nobody uses anymore