Resizable Screen Help!
in
Programming Questions
•
2 years ago
For a first project I am creating a (very) simple paint program and one of the first things even a basic paint program needs is that it needs to be resizable. I am using frame.setResizable(); to make my sketch window... resizable. But, when I run the program and make the window bigger, the canvas stays the same size while the window gets bigger. I didn't really explain that good.
Ok, the window looks like this -> [] ___
when I first run it. When I resize it, the window then looks like this -> |___|
But the canvas that your draw on still stays like this -> []
even though your window is bigger.
So my question is, how can I get the drawing canvas to resize with the window?
Thanks in advance,
TheGamersHaven
___________________________________________________________________
Do you know what you just lost?
The Game
1