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

UIManager.setLookAndFeel fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.2.0
    • client-libs
    • None

      Calling UIManager.setLookAndFeel fails, unless preceded by a call to getLookAndFeel. The failure itself is silent, but then loads of exceptions are thrown as each pluggable component is created.

      In the main method of the attached test program [argh, can't seem to attach, you'll find the test in ~rjrjr/SwingBug/Test], UIManager.setLookAneFeel is immediately performed, and the behavior described ensues. This happens with all L&Fs, not just motif.

      It has been seen on Win95, Solaris 2.5.something, and with JDK 1.1.5 and JDK1.2b2. SwingSet has the same problem.

      This was tested on swing-1.0fcs-build3.
      robert.kedoin@Eng 1998-02-04

            sswingtrsunw Swingtraq Swingtraq (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: