A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to create full screen applet in browser?
Joined: Feb 13, 2011
Mar 24, 2011 09:07:24
i want to create
that have size match to white space of browser , without make the browser scrollable and i don't want open my applet in new frame.
can somebody guide me how to do that?
Joined: Apr 05, 2011
Apr 05, 2011 04:31:43
My Applet is a bit different because it is converted from a desktop application.
Firstly I have a
, I use following methods to set the size:
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
For the Applet, I add the content pane of that frame to the center:
"this" is the Applet.
Hope it helps.
My first program "Hello World" was in 1997, but until now that's the only thing I know.
I agree. Here's the link:
subject: How to create full screen applet in browser?
Print of Graphics
how to write something in the status bar
How to use swings with applet
Move location Button of Button Dynamically
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014