I were using J6u03 and decided to upgrade today to u13... for my
surprise there was a problem with my app.
My fullscreen mode that was ok with u03 now seems to be rendering my
canvas only at 1/4 of the screen (also not in the screen center... but
on the top left).
Bellow is a small part of my code...
GraphicsDevice gd = ge.getDefaultScreenDevice();
GLCapabilities capabilities = new GLCapabilities();
capabilities.setSampleBuffers(true);
capabilities.setNumSamples(2);
renderCanvas=new GLCanvas(capabilities);
frame.getContentPane().add("Center", renderCanvas);
frame.setUndecorated(true);
initFullScreen(gd, frame);
frame.setLayout(null);
the initFullScreen interesting part would be
frame.setUndecorated(true);
gd.setFullScreenWindow(frame);
My guess is something in the method
frame.getContentPane().add("Center", renderCanvas);
What changed in recent versions for fullscreen? I saw on the source that
the method add(String, Component) is obsolet (why not deprecated?)...
does this have something to do with it?
I'm asking this in advance while I check and compare the j6u13 source
further but maybe you guys could help me spare some time.... thanks in
advance :)
===========================================================================
To unsubscribe, send email to lists...@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
lists...@java.sun.com and include in the body of the message "help".