2package com.jogamp.opengl.test.junit.jogl.awt;
4import java.awt.Desktop;
7import com.jogamp.opengl.GLProfile;
10import org.junit.FixMethodOrder;
11import org.junit.runners.MethodSorters;
13import com.jogamp.common.os.Platform;
14import com.jogamp.opengl.test.junit.util.UITestCase;
29@FixMethodOrder(MethodSorters.NAME_ASCENDING)
43 if (Desktop.isDesktopSupported()) {
44 desktop = Desktop.getDesktop();
49 final String home = System.getProperty(
"user.home");
50 File homeFolder =
null;
53 final File tst =
new File(home +
"/Desktop");
58 if(
null == homeFolder) {
59 final File tst =
new File(home);
65 if(
null == homeFolder) {
66 if(Platform.getOSType() == Platform.OSType.WINDOWS) {
67 homeFolder =
new File(
"c:\\");
69 homeFolder =
new File(
"/");
72 if(
null != homeFolder) {
73 desktop.open(homeFolder);
76 }
catch(
final Exception ex) {
81 public static void main(
final String args[]) {
82 org.junit.runner.JUnitCore.main(
TestBug611AWT.class.getName());
Specifies the the OpenGL profile.
static void initSingleton()
Static initialization of JOGL.
As reported in Bug 611, on Windows XP is a performance issue: After JOGL initialization there seems t...
static void main(final String args[])