Controlling the size of an applet based on browser window size.
in
Integration and Hardware
•
1 year ago
Hello.
I'm trying to create an applet that will essentially be the website itself. The only question I have at this point is about resizing applets. Is it possible to make an applet take up the entire browsing window? And from there, is it possible to resize the browsing window and have the applet follow based on the browser window's dimensions?
To do so, I would need some command to get the width and height of the window.
I'm pretty sure I can do that with the "document.width" and "document.height" commands in JavaScript, but how would I allow that to talk to processing, or is there something I can do in processing to access that information?
Thanks for any and all help.
1