Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6689390

Can not start any java gui application on secondary display

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 6u3
    • client-libs
    • None
    • 2d
    • x86
    • solaris_nevada

      I have a multihhead setup on Acer Ferari 3400 as offered by frkit toolkit. I am not able to start any java gui application on my secondary monitor. Netbeans and Sunstudio silently not start at all without any error message. Starting jcontrol gives the following exception:

      bash-3.2$ echo $DISPLAY
      :0.1
      bash-3.2$ jcontrol
      Exception in thread "main" java.lang.ExceptionInInitializerError
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:169)
              at java.awt.Toolkit$2.run(Toolkit.java:836)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:828)
              at sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:120)
              at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:1556)
              at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:130)
              at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1591)
              at javax.swing.UIManager.setLookAndFeel(UIManager.java:537)
              at javax.swing.UIManager.setLookAndFeel(UIManager.java:577)
              at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1331)
              at javax.swing.UIManager.initialize(UIManager.java:1418)
              at javax.swing.UIManager.maybeInitialize(UIManager.java:1406)
              at javax.swing.UIManager.getLookAndFeel(UIManager.java:490)
              at com.sun.deploy.util.DeployUIManager.setLookAndFeel(DeployUIManager.java:84)
              at com.sun.deploy.panel.ControlPanel.<clinit>(ControlPanel.java:33)
      Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
              at sun.awt.X11GraphicsEnvironment.getDefaultScreenDevice(X11GraphicsEnvironment.java:218)
              at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:91)

            Unassigned Unassigned
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: