--- snip ---
Unable to create a suitable default GraphicsConfiguration. Try changing your Display Settings.
at sun.awt.Win32GraphicsDevice.getDefaultPixID(Native Method)
at sun.awt.Win32GraphicsDevice.getConfigurations(Win32GraphicsDevice.java:73)
at GraphicsTest.main(GraphicsTest.java:17)
--- snip ---
After fixing the problem:
--- snip ---
Getting config for \Display0
Finished in 45 milliseconds
Getting config for \Display1
Finished in 3 milliseconds
--- snip ---
Created attachment 68725
Compiled Java test case to demonstrate ChoosePixelFormat PFD_SUPPORT_GDI issue
Hello folks,
I've precompiled the small Java test app and attach it here for reference.
Copy/pasta source and instructions from my previous comment #13
--- snip --- 3.0_03\ \bin\\javac. exe" -g GraphicsTest.java 3.0_03\ \bin\\java. exe" GraphicsTest
// compile: wine "c:\\jdk1.
// run: wine "c:\\jdk1.
import java.awt.*;
public class GraphicsTest {
public static void main(String[] args) {
for (int j = 0; j < gs.length; j++) {
long startTime = System.
}
}
}
--- snip ---
It should print:
--- snip --- ration. Try changing your Display Settings. Win32GraphicsDe vice.getDefault PixID(Native Method) Win32GraphicsDe vice.getConfigu rations( Win32GraphicsDe vice.java: 73) main(GraphicsTe st.java: 17)
Unable to create a suitable default GraphicsConfigu
at sun.awt.
at sun.awt.
at GraphicsTest.
--- snip ---
After fixing the problem:
--- snip ---
Getting config for \Display0
Finished in 45 milliseconds
Getting config for \Display1
Finished in 3 milliseconds
--- snip ---
(I have two monitors)
Regards