Skip to main content

I see that FullScreen Exclusive Mode has changed....

5 replies [Last post]
demonduck
Offline
Joined: 2008-03-14

Try one of my applets and go fullscreen:

http://pancyl.com/

Press F1 to enter -- ESC to exit.

When you enter, the border flashes blue and there is a little icon on the upper right that gives a floating announcement that this is a Java window. This is much, much better than the banner at the bottom. The blue flashing is a little extreme and the first time you see it, it's a little scary but what the heck...

On Windows I noticed that the task bar is still visible and if I hide the task bar, the fullscreen window does not cover the (now hidden) task bar area leaving the desktop background color showing.

What you've done for FullScreen exclusive mode is good. Make it a little better by filling in the task bar area if the task bar is hidden.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Dmitri Trembovetski

Hello,

java2d@JAVADESKTOP.ORG wrote:
> Try one of my applets and go fullscreen:
>
> http://pancyl.com/
>
> Press F1 to enter -- ESC to exit.
>
> When you enter, the border flashes blue and there is a little icon on the upper right that gives a floating announcement that this is a Java window. This is much, much better than the banner at the bottom. The blue flashing is a little extreme and the first time you see it, it's a little scary but what the heck...
>

It's weird that if flashes blue, it was supposed to be green,
I believe =)

Applets don't have access to Full screen exclusive mode
(unless they are signed), so I assume that what you're seeing
is "emulated" mode - basically the window is resized.

> On Windows I noticed that the task bar is still visible and if I hide the task bar, the fullscreen window does not cover the (now hidden) task bar area leaving the desktop background color showing.

This is probably the artifact of the emulated full screen
mode. I'll take a look at it tomorrow and file a bug if
needed.

>
> What you've done for FullScreen exclusive mode is good. Make it a little better by filling in the task bar area if the task bar is hidden.

It's not really FSEM feature - any unsigned applet's window
will now have this kind of warning window.

Thanks,
Dmitri

> [Message sent by forum member 'demonduck' (demonduck)]
>
> http://forums.java.net/jive/thread.jspa?messageID=287208
>
> ===========================================================================
> To unsubscribe, send email to listserv@java.sun.com and include in the body
> of the message "signoff JAVA2D-INTEREST". For general help, send email to
> listserv@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

demonduck
Offline
Joined: 2008-03-14

The way it is now is fine with me -- the flash is a little bit much. The icon in the upper right should be enough.

This is why: If a person does something to enter FSEM, then that person (in most cases) will know that it's an applet window and the flashing is just mildly annoying.

If a person comes up to a computer after the change to FSEM or perhaps looks away during the change, he will miss the flashing and so it's unnecessary. But the icon will still be there. The icon is good -- not over done or over stated -- just enough.

Now for the taskbar: When I go FSEM, I get the insets and subtract the insets from the new size of the window -- I use a Frame. I need to know the full size of the Frame to draw what I'm drawing.

When I hide the taskbar, there may already be an Event generated and propagated to my Frame. I haven't added a WindowListener yet. I'll try adding a WindowListener tomorrow and see if there's a resize event. There should be some kind of event sent to my Frame. If the taskbar is hidden, then I'll need to know the new size of the Frame so I can draw into it.

So the problem may be that I'm not listening for a resize event. I'll look at that tomorrow.

DD

demonduck
Offline
Joined: 2008-03-14

I added a ComponentListener to my VSync applet.

http://pancyl.com/VSync.htm

The listener just prints out the name of the received event, eg.
vsync.VSyncFS --- Resized
vsync.VSyncFS --- Shown

Observations:

The flashing border happens everytime vsync.VSyncFS gains focus. That's probably unnecessary.

When the taskbar is hidden or unhidden, no ComponentEvent is sent to vsync.VSyncFS. So if there are window/component related events being sent to my Frame, I don't know what they are.

Also, I noticed that in IE6 when I'm loading the applet and I open the Java Console from the tray icon, the screen is cleared for the Java Console before it opens and that makes a funny spot in the Java Splash Screen.

DD

Dmitri Trembovetski

java2d@JAVADESKTOP.ORG wrote:
> I added a ComponentListener to my VSync applet.
>
> http://pancyl.com/VSync.htm
>
> The listener just prints out the name of the received event, eg.
> vsync.VSyncFS --- Resized
> vsync.VSyncFS --- Shown
>
> Observations:
>
> The flashing border happens everytime vsync.VSyncFS gains focus. That's probably unnecessary.

That's intentional. Since now the window doesn't have a prominent applet
"warning window" we felt it was necessary to draw user's attention
to the fact that this window belongs to an untrusted applet every time
the user switches to it.

> When the taskbar is hidden or unhidden, no ComponentEvent is sent to vsync.VSyncFS. So if there are window/component related events being sent to my Frame, I don't know what they are.

I'll have to defer this to the AWT team.

> Also, I noticed that in IE6 when I'm loading the applet and I open the Java Console from the tray icon, the screen is cleared for the Java Console before it opens and that makes a funny spot in the Java Splash Screen.

So it works fine on IE7 or FF3?
This will probably be better answered on the plugin forum.

Thanks,
Dmitri

>
> DD
> [Message sent by forum member 'demonduck' (demonduck)]
>
> http://forums.java.net/jive/thread.jspa?messageID=287356
>
> ===========================================================================
> To unsubscribe, send email to listserv@java.sun.com and include in the body
> of the message "signoff JAVA2D-INTEREST". For general help, send email to
> listserv@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Dmitri Trembovetski

I wanted to add, your feedback on the new applet warning window
is most welcome. While we won't have time to address any issues
you raise in 6u10 we will try in 6u11.

Thanks,
Dmitri

Dmitri Trembovetski wrote:
>
>
> java2d@JAVADESKTOP.ORG wrote:
>> I added a ComponentListener to my VSync applet.
>> http://pancyl.com/VSync.htm
>>
>> The listener just prints out the name of the received event, eg.
>> vsync.VSyncFS --- Resized vsync.VSyncFS --- Shown
>>
>> Observations:
>>
>> The flashing border happens everytime vsync.VSyncFS gains focus.
>> That's probably unnecessary.
>
> That's intentional. Since now the window doesn't have a prominent applet
> "warning window" we felt it was necessary to draw user's attention
> to the fact that this window belongs to an untrusted applet every time
> the user switches to it.
>
>> When the taskbar is hidden or unhidden, no ComponentEvent is sent to
>> vsync.VSyncFS. So if there are window/component related events being
>> sent to my Frame, I don't know what they are.
>
> I'll have to defer this to the AWT team.
>
>> Also, I noticed that in IE6 when I'm loading the applet and I open the
>> Java Console from the tray icon, the screen is cleared for the Java
>> Console before it opens and that makes a funny spot in the Java Splash
>> Screen.
>
> So it works fine on IE7 or FF3?
> This will probably be better answered on the plugin forum.
>
> Thanks,
> Dmitri
>
>>
>> DD
>> [Message sent by forum member 'demonduck' (demonduck)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=287356
>>
>> ===========================================================================
>>
>> To unsubscribe, send email to listserv@java.sun.com and include in the
>> body
>> of the message "signoff JAVA2D-INTEREST". For general help, send
>> email to
>> listserv@java.sun.com and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".