Well, you _will_ be able to alt-tab out of the app when in full-screen
mode -- but if you don't see your monitor actively switch resolutions when
the app starts, something is wrong.  If the VM can't actually change into
full-screen, it will do its best to fake it with a window the size of the
default screen res, and it sounds like that's what you're seeing when you
set the program res to your default res.  But if you see the changes in
other resolutions, it seems like it's at least partially working for you.
Maybe your video hardware (or JDK1.4b3?) doesn't support that resolution in
full-screen mode?  If you want to dig deeper you might try the following:

1) See if GraphicsDevice.isDisplayChangeSupported() returns true (only after
changing to full-screen mode) in both the resolution where you do see the
screen change and the default resolution.  From the docs, an app can't
switch resolutions unless it's already in full-screen mode, so if you see
the resolution change, you will be in true full-screen mode (in theory).

2) Run some of the full-screen sample apps from the Java tutorial Web site
covering full-screen mode, especially DisplayModeTest.  That demo lets you
pick from a list of your hardware's available display modes and lets you try
changing modes on the fly -- which should make it easier to determine what
resolutions work for you and which (if any) are emulated with a simple
full-screen window.

Honestly I haven't done extensive testing of the demo I sent out, so maybe
I'm missing something that makes a difference across platforms and
configurations.  I have seen some irregularities in my own work so far where
identical code drops for my main full-screen/java3d app might work in
full-screen on one machine yet not on another, despite the fact that the
full-screen example I sent to the list runs fine at the resolution in
question on both machines _and_ that other resolutions work fine on both
machines -- like there's some resolutions that just don't work in all cases.
Perplexing.

Good luck, and please let me know if you find more info on what's wrong
and/or have suggestions on how to make the demo app more robust.  Sorry I
can only speculate...

-Bob

----- Original Message -----
From: "David Yazel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 8:21 PM
Subject: Re: [JAVA3D] Full-screen exclusive mode and Java3D example


> When I run this it *seems* to work, but I don't think it's really working.
> The screen resolution changes and it goes to full screen mode, but I can
> still task switch and pull up other windows.  Also, if I add 1024x768x32
(my
> default resolution) the little taskbar handle is still at the bottom and
I
> can pull it up.  It does not seem to really be in full screen mode.
> FullScreenSupported is returing true... so I dont know what I am doing
> wrong.  I am using jdk 1.4beta3 and j3d 1.3 beta 1 and directx 8.1
>
> Dave Yazel

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to