java.lang.UnsupportedOperationException: Cannot change display mode

daniweb.com | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.lang.NoSuchMethodError: main - Software Development | DaniWeb

    daniweb.com | 9 months ago
    java.lang.UnsupportedOperationException: Cannot change display mode

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      Cannot change display mode

      at java.awt.GraphicsDevice.setDisplayMode()
    2. Java RT
      Win32GraphicsDevice.setDisplayMode
      1. java.awt.GraphicsDevice.setDisplayMode(Unknown Source)
      2. sun.awt.Win32GraphicsDevice.setDisplayMode(Unknown Source)
      2 frames
    3. Unknown
      Image.main
      1. Screen.restoreScreen(Screen.java:37)
      2. GameStation.run(MyDrawPanel.java:33)
      3. Image.main(Image.java:17)
      3 frames