Hi Ken,
Ken Warner wrote:
What I would suggest is putting a small 16x16 Java icon
in the upper left corner of the full screen window. That's
the conventional place for identification via icons. And
perhaps clicking on the icon could escape fullscreen
exclusive mode.
The idea of a status bar is not evil. But it should
be under the control of the programmer. The visibility,
color, message should be under the control of the applet.
I disagree: it should not be because it is a security
feature.
Would you also suggest to put SecurityManager under
programmers' control?
However I agree that there may be better and more
user-friendly ways to achieve the desired, and as I
mentioned we have professional UI people looking at
ways to improve the experience.
BTW, it is not a status bar, it's a banner.
Thank you,
Dmitri
The status bar could be enabled for other purposes like a menu bar or
tool bar. Then there would be some useful purpose to it that would
override the annoyance factor.
Also, there should be a choice of top or bottom
or invisible. If invisible, then show the icon in the upper
left corner.
Dmitri Trembovetski wrote:
The Applet bar is there for security reasons, obviously,
so we can't just remove it.
Now there are probably better ways to inform the
user that the window they're using is sandboxed,
and I believe there's some kind of project
to improve the UI of the security warning.
So, yes, this is not a 2D issue, but
security+awt+deployment.
Thanks,
Dmitri
Ken Warner wrote:
Can I exploit that bug too? :-)
But seriously, all the users I have contact with find
that status bar real annoying. Annoying to the point that
they are willing to look to Flash or other means to display
their panoramas. They are a fussy group and I struggle to
maintain Java's relevance to that group.
So does the Java2D group have any say about the status
bar or should I talk to another development group. No need to grind
on you if it's not in your purview...
Dmitri Trembovetski wrote:
> HOW DID THEY DO THAT??? Is this another secret environment
variable?
> I would like to know how to go into fullscreen mode without the
status
> bar showing.
I think they may be exploiting a bug fixed in the latest
versions.
On my jre (6uN) the window does show the warning.
Thanks,
Dmitri
Ken Warner wrote:
Hi,
My applet at
http://pancyl.com
can go into fullscreen exclusive mode. F1 enters -- ESC exits.
When it goes into fullscreen exclusive mode using the 1.6 plugin,
there is a gray status bar at the bottom of the screen that says,
"Java Applet Window" A lot of people find this annoying.
Fullscreen exclusive should mean
FULLSCREEN! I've looked at java.awt.GraphicsDevice and this is the
method that
set's the bounds of the window.
public void setFullScreenWindow(Window w) {
// Get display mode before changing the full screen window
DisplayMode dm;
if (w == null) {
dm = null;
} else {
dm = getDisplayMode();
}
if (fullScreenWindow != null && windowedModeBounds != null) {
fullScreenWindow.setBounds(windowedModeBounds);
}
// Set the full screen window
fullScreenWindow = w;
if (fullScreenWindow != null) {
windowedModeBounds = fullScreenWindow.getBounds();
fullScreenWindow.setBounds(0, 0, dm.getWidth(),
dm.getHeight());
fullScreenWindow.setVisible(true);
fullScreenWindow.toFront();
}
}
I tried to write my own class to extend GraphicsDevice so I can
override setFullScreenWindow()
but I can't put it into the java.awt package. I get a security
warning at runtime.
I'm not smart enough or good enough to figure out a way to set the
bounds of the fullscreen window so that the status bar won't show.
However, someone has. Goto the URL below. You will see a gallery
of available panoramic images. They can be shown in Flash, Java or
Quicktime. Select one to show in Java. When you see that it's
finished
loading, click the right button and enter fullscreen mode. You
will see
that there is no status bar.
HOW DID THEY DO THAT??? Is this another secret environment variable?
I would like to know how to go into fullscreen mode without the status
bar showing.
http://easypano.com/panorama-gallery.html
Ken
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in
the body
of the message "signoff JAVA2D-INTEREST". For general help, send
email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in
the body
of the message "signoff JAVA2D-INTEREST". For general help, send
email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".