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

Swing programs fail to start with color depth and bpp match failures

XMLWordPrintable

    • b04
    • x86
    • linux
    • Verified

      On Redhat Linux 6.1J, build 1.2.2-RC2-J failed to start any JFC application.

      To reproduce, go demo/jfc/Notepad and $ jar -jar Notepad.jar. Other Swing apps, like SwingSet, Java2Demo in same exception.

      uncaught exception: java.lang.Error: can't load javax.swing.plaf.metal.MetalLookAndFeel
      java.lang.Error: can't load javax.swing.plaf.metal.MetalLookAndFeel
              at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:856)
              at javax.swing.UIManager.initialize(UIManager.java:926)
              at javax.swing.UIManager.maybeInitialize(UIManager.java:948)
              at javax.swing.UIManager.getUI(UIManager.java:559)
              at javax.swing.JPanel.updateUI(JPanel.java:110)
              at javax.swing.JPanel.<init>(JPanel.java:70)
              at javax.swing.JPanel.<init>(JPanel.java:100)
              at javax.swing.JRootPane.createGlassPane(JRootPane.java:224)
              at javax.swing.JRootPane.<init>(JRootPane.java:181)
              at javax.swing.JFrame.createRootPane(JFrame.java:154)
              at javax.swing.JFrame.frameInit(JFrame.java:147)
              at javax.swing.JFrame.<init>(JFrame.java:124)
              at Notepad.main(Notepad.java:124)

      Testing both "C" and "ja_JP.ujis" locale. Same results.

      koushi.takahashi@japan 1999-12-13

      -------------------------------
      The second customer that has this problem has a Riva 128 and
      color weigth of 565.

      sheri.good@Eng 2000-01-04

            caustinsunw Calvin Austin (Inactive)
            ktakahassunw Koushi Takahashi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: