Hello all
I hope someone of you can help me on this issue.
I am working with  two monitors on my computer and I can only get J3D to
work on one of the screens.
If I start the window on screen one the java 3d is working, if I move the
window to screen two it freezes and if I then move back to screen one I get
a bluescreen. (I use w2k, sp 2)
If I start the window on screen two the J3D is just the grey background and
if I move the window to screen one it works.

I do not know if it is due to the second screen's graphics card or because
of the new SW versions. In a previous versions it worked but it was with a
different computer, different graphics cards and JDK1.3 and J3D 1.2.1_03.
Now I am using JDK1.4 and J3D 1.2.1_04. The first screen is using a GeForce3
and the second screen a GeForce 2 card.

The first thing I am thinking of is how do I get the GraphicsConfiguration
for the screen the window should appear on?
To start the J3D I get a GraphicsConfiguration with:
GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration()
The documentation on "getPreferredConfiguration" says:
        "Finds the preferred GraphicsConfiguration object for the system.
This object can then be
        used to create the Canvas3D objet for this system.
        Returns: The best GraphicsConfiguration object for the system."
But if the screen where i want the J3Dwindow is not the best
GraphicsConfiguration but the second best? How do I decide which
GraphicsConfiguraion I want to use?
In normal Java I select screen by getting an array with the displays in with
the function:
abstract GraphicsDevice[] GraphicsEnvironment.getScreenDevices()
and from each on of the elements (screens) in the array I can get the
GraphicsConfiguration with
abstract GraphicsConfiguration  = GraphicsDevice .getDefaultConfiguration()
But this type of GraphicsConfiguration  does not work with J3D, only the
GraphicsConfiguration  that I get from
SimpleUniverse.getPreferredConfiguration() works.
Does anyone have a suggestion how to get the J3D window on the second best
display, ie get the second best GraphicsConfiguration.
Or how Do I test if it is the grahics card that does not support J3D. (It
sounds unlikely today that such cards exist)
Thank you
Gustaf Duell

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