I welcome!
Perhaps I hide the chrome from my program? I mean, what is done by pressing F11.
I would be very grateful for information!
Cheers,
Thx
I welcome!
Perhaps I hide the chrome from my program? I mean, what is done by pressing F11.
I would be very grateful for information!
Cheers,
Thx
Hi,
Do you mean you want to switch to a full-screen browser mode programmatically from the Vaadin app? I am afraid that’s impossible as no such API exist (at least I never heard about anything at least a bit close).
–
sorry for bad news,
sasha
I welcome you, Alexander V Pchelintsev!
Yes, I would like to preview full-screen mode to use.
In general, there is one way, but it works only in IE -
...
<html>
<script type="text/javascript">
var wsAshell=new ActiveXObject("WScript.Shell");
function f11(){
wsAshell.SendKeys("{F11}");
}
</script>
<body>
<button onclick="f11()">FullScreenMode</button>
</body>
</html>
...
Add-ons in Vaadin seems not.
Cheers,
Thx
I welcome you, Henri Kerola!
Whew! Thank you very much for the link!
hi friends,
i needed to somethink like that and i find a solution just java…
under the button click listener;
Robot robot = Robot();
robot.keyPress(KeyEvent.VK_F11);
robot.keyRelease(KeyEvent.VK_F11);