Typo in Synth package level documentation on how to load a theme

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 5.0
    • Affects Version/s: 5.0
    • Component/s: client-libs
    • b58
    • generic
    • generic

      The synth package level documentation contains a typo in the text where it shows how to load an xml theme. It currently reads:

      SynthLookAndFeel laf = new SynthLookAndFeel();
      laf.load(MyClass.class.getResourceAsStream("laf.xml",
               MyClass.class));
      UIManager.setLookAndFeel(laf);

      It should read:

      SynthLookAndFeel laf = new SynthLookAndFeel();
      laf.load(MyClass.class.getResourceAsStream("laf.xml"),
               MyClass.class);
      UIManager.setLookAndFeel(laf);

            Assignee:
            Shannon Hickey (Inactive)
            Reporter:
            Shannon Hickey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: