Thx, found it on www.j3d.org. But the answer is disappointing.
Gee, I'd like to have a good DX-support really!

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
vvvvv
9. Java 3D in fullscreen mode

For DirectX 6.1, you can set the Java property, j3d.fullscreen to one of the
following values:

REQUIRED - fullscreen mode is required. Abort program if full screen mode
cannot be initiated.
PREFERRED - fullscreen mode is preferred. Try to initiate fullscreen mode
but if that fails, use a regular window instead.
UNNECESSARY - fullscreen is not necessary for this application.
For instance, to run the HelloUniverse example program in fullscreen mode if
it is available, the following command would be used:


 java -Dj3d.fullscreen=preFERRED HelloUniverse
For OpenGL, there is a workaround to make J3D look like it is operating in
fullscreen by subclassing java.awt.Window. Essentially you create a new
window instance that is exactly the same size as the current screen size.
Window does not have all the borders that you normally get with Frame and
Dialog.

  Toolkit tk = Toolkit.getDefaultToolkit();
  Dimension d = tk.getScreenSize();
  Frame f = new Frame();
  Window w = new Window(f);
  w.setSize(d);
  Canvas3D canvas = new Canvas3D();
  w.add(canvas);
  w.setVisible(true);

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^




Joerg 'Herkules' Plewe
HARDCODE Development
http://www.hardcode.de

> -----Original Message-----
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]On Behalf Of Justin Couch
> Sent: Montag, 29. Mai 2000 12:31
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] Fullscreen?
>
>
> Joerg 'Herkules' Plewe wrote:
>
> > Maybe I missed it in the doc, but is there a simple mean to
> switch a J3D app
> > to fullscreen in a certain resolution. Would be very important
> for games,
> > but can also be a nice feature for other apps letting the user immerse
> > better to the 3D content.
>
> Dig through the FAQ for the answer to that (don't have the link handy).
> There was a command line option for 1.1 along the lines of
> java3d.fullscreen. I don't think there was a way to specify the
> resolution though.
>
>
> --
> Justin Couch                                   Author, Java Hacker
> Snr Software Engineer                             [EMAIL PROTECTED]
> rbuzz.net                           http://www.vlc.com.au/~justin/
> Java3D FAQ                                 http://www.j3d.org/faq/
> -------------------------------------------------------------------
> "Look through the lens, and the light breaks down into many lights.
>  Turn it or move it, and a new set of arrangements appears... is it
>  a single light or many lights, lights that one must know how to
>  distinguish, recognise and appreciate? Is it one light with many
>  frames or one frame for many lights?"      -Subcomandante Marcos
> -------------------------------------------------------------------
>
> ==================================================================
> =========
> 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".
>

===========================================================================
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