Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+13 votes

How can I create two panels in the same panel ?

asked in CSC211_Winter2018 by (13 points)

1 Answer

+1 vote

This is just a thought that I had but you should be able to create a new DrawingPanel and set the location within the main DrawingPanel. So you would create a new DrawingPanel with "DrawingPanel = new DrawingPanel(x,y)" and then set the new location of it in the window with ".setLocation(x,y)". Hope this helps!

answered by (863 points)
...