GLCanvas Full Screen Cannot see in Teamviewer
Posted by robbiezl on
URL: https://forum.jogamp.org/GLCanvas-Full-Screen-Cannot-see-in-Teamviewer-tp4027475.html
I use a win8 System pad(Use software Teamviewer7.0) remote control my Program(this program runs on a laptop,Intel i5 and NV GT640 ,4G memory).
Everything sees show well in the remote client on Pad.
But when the JFrame of my program set to full screen,I can not see the GLCanvas on the Pad. If I change JFrame to normal,I see the GLCanvas again.
On the laptop,either fullscreen or not,the GLCanvas is show,the program runs well.
I change GLCanvas fullscreen use the code below:
baseFrame.dispose();
baseFrame.setVisible(false);
baseFrame.setUndecorated(true);
baseFrame.getRootPane().setWindowDecorationStyle(JRootPane.NONE);
baseFrame.setExtendedState(JFrame.MAXIMIZED_BOTH);
SwingUtilities.invokeLater(new Runnable(){
public void run() {
baseFrame.setVisible(true);
}
});
This situation confused me a lot.
Sorry for my poor English.I do not know if I say the problem clearly.