|
Hello,
I have a MainClass which creates a JFrame. I have also a view class. The MainClass instantiates a view and makes it's contentPane the view. now, inside the view i have made another jpanel. i am trying to add graphics to the inside jpanel but it is not working, i get the graphics on the OUTSIDE jpanel. this makes sense as in the view i have a paintComponents() override but that is specific to the outside panel. how do i make it apply to the inside panel? any thoughts? |