switch between 3D and 2D with size?
in
Programming Questions
•
2 years ago
hello all,
can I switch between 3D and 2D with size?
The combination of
frame.setResizable(true);
and
frame.setSize(580, 480);
that I found here in the forum doesn't help because
frame.setSize(580, 480);
doesn't take a third parameter (JAVA2D)
My approoach is that I have a normal setup with size; when the user wants, he can use a key to go 2D. setup is not called again but another function.
Thanks !
Chrisir
1