isFullScreenSupported always true for monitors
up vote
3
down vote
favorite
Given the following code
GraphicsDevice screen = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()[0];
if (screen.isFullScreenSupported()) {
//is it always true for monitors?
}
Is screen.isFullScreenSupported()
always true for monitors?
java monitor
add a comment |
up vote
3
down vote
favorite
Given the following code
GraphicsDevice screen = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()[0];
if (screen.isFullScreenSupported()) {
//is it always true for monitors?
}
Is screen.isFullScreenSupported()
always true for monitors?
java monitor
1
Is this just a statement of fact, or do you have a question / problem?
– Jim
Nov 12 '12 at 21:35
i want to start application allways in fullscreen, if all monitor support it.
– user1819311
Nov 24 '12 at 13:18
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
Given the following code
GraphicsDevice screen = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()[0];
if (screen.isFullScreenSupported()) {
//is it always true for monitors?
}
Is screen.isFullScreenSupported()
always true for monitors?
java monitor
Given the following code
GraphicsDevice screen = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()[0];
if (screen.isFullScreenSupported()) {
//is it always true for monitors?
}
Is screen.isFullScreenSupported()
always true for monitors?
java monitor
java monitor
edited Nov 22 at 4:32
Cœur
17.2k9102141
17.2k9102141
asked Nov 12 '12 at 21:34
user1819311
232
232
1
Is this just a statement of fact, or do you have a question / problem?
– Jim
Nov 12 '12 at 21:35
i want to start application allways in fullscreen, if all monitor support it.
– user1819311
Nov 24 '12 at 13:18
add a comment |
1
Is this just a statement of fact, or do you have a question / problem?
– Jim
Nov 12 '12 at 21:35
i want to start application allways in fullscreen, if all monitor support it.
– user1819311
Nov 24 '12 at 13:18
1
1
Is this just a statement of fact, or do you have a question / problem?
– Jim
Nov 12 '12 at 21:35
Is this just a statement of fact, or do you have a question / problem?
– Jim
Nov 12 '12 at 21:35
i want to start application allways in fullscreen, if all monitor support it.
– user1819311
Nov 24 '12 at 13:18
i want to start application allways in fullscreen, if all monitor support it.
– user1819311
Nov 24 '12 at 13:18
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
No, it may not be true.
The SecurityManager might disallow you the full screen control. Mainly because one could easily fake whole screen in order to grab a password from not-suspecting user (you could mock a bank website).
It can be false:
- in an applet
- in a WebStart Application
- while running in headless mode
JavaDOC of GraphicsDevice.isFullScreenSupported:
Returns true if this GraphicsDevice supports full-screen exclusive
mode. If a SecurityManager is installed, its checkPermission method
will be called with AWTPermission("fullScreenExclusive").
isFullScreenSupported returns true only if that permission is granted
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
No, it may not be true.
The SecurityManager might disallow you the full screen control. Mainly because one could easily fake whole screen in order to grab a password from not-suspecting user (you could mock a bank website).
It can be false:
- in an applet
- in a WebStart Application
- while running in headless mode
JavaDOC of GraphicsDevice.isFullScreenSupported:
Returns true if this GraphicsDevice supports full-screen exclusive
mode. If a SecurityManager is installed, its checkPermission method
will be called with AWTPermission("fullScreenExclusive").
isFullScreenSupported returns true only if that permission is granted
add a comment |
up vote
1
down vote
accepted
No, it may not be true.
The SecurityManager might disallow you the full screen control. Mainly because one could easily fake whole screen in order to grab a password from not-suspecting user (you could mock a bank website).
It can be false:
- in an applet
- in a WebStart Application
- while running in headless mode
JavaDOC of GraphicsDevice.isFullScreenSupported:
Returns true if this GraphicsDevice supports full-screen exclusive
mode. If a SecurityManager is installed, its checkPermission method
will be called with AWTPermission("fullScreenExclusive").
isFullScreenSupported returns true only if that permission is granted
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
No, it may not be true.
The SecurityManager might disallow you the full screen control. Mainly because one could easily fake whole screen in order to grab a password from not-suspecting user (you could mock a bank website).
It can be false:
- in an applet
- in a WebStart Application
- while running in headless mode
JavaDOC of GraphicsDevice.isFullScreenSupported:
Returns true if this GraphicsDevice supports full-screen exclusive
mode. If a SecurityManager is installed, its checkPermission method
will be called with AWTPermission("fullScreenExclusive").
isFullScreenSupported returns true only if that permission is granted
No, it may not be true.
The SecurityManager might disallow you the full screen control. Mainly because one could easily fake whole screen in order to grab a password from not-suspecting user (you could mock a bank website).
It can be false:
- in an applet
- in a WebStart Application
- while running in headless mode
JavaDOC of GraphicsDevice.isFullScreenSupported:
Returns true if this GraphicsDevice supports full-screen exclusive
mode. If a SecurityManager is installed, its checkPermission method
will be called with AWTPermission("fullScreenExclusive").
isFullScreenSupported returns true only if that permission is granted
edited Nov 12 '12 at 23:05
answered Nov 12 '12 at 21:42
Rekin
6,62321833
6,62321833
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f13351936%2fisfullscreensupported-always-true-for-monitors%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Is this just a statement of fact, or do you have a question / problem?
– Jim
Nov 12 '12 at 21:35
i want to start application allways in fullscreen, if all monitor support it.
– user1819311
Nov 24 '12 at 13:18