Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.InternalError: Could not get display modes

843807Dec 15 2004 — edited Dec 15 2004
why I got this error?
my code is like this:

private GraphicsDevice device;
GraphicsEnvironment environment = GraphicsEnvironment.getLocalGraphicsEnvironment();
device = environment.getDefaultScreenDevice();
DisplayMode goodModes[] = device.getDisplayModes();

at the last line,I got the error message as title showed.
Why did this happen and how can I get rid of it?
is it a Graphic Card (driver) problem?
My graphic card is "trident cyberBlade XP Ail".
In WinXP these codes are OK.
but in My win2K3,this happens.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 12 2005
Added on Dec 15 2004
1 comment
134 views