Misplaced parenthesis in example code

XMLWordPrintable

    • b26
    • x86
    • windows_xp

      A DESCRIPTION OF THE PROBLEM :
      Misplaced parenthesis in example code at the top of the page

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      SynthLookAndFeel laf = new SynthLookAndFeel();
        laf.load(MyClass.class.getResourceAsStream("laf.xml"),
                 MyClass.class);
        UIManager.setLookAndFeel(laf);
      ACTUAL -
      SynthLookAndFeel laf = new SynthLookAndFeel();
        laf.load(MyClass.class.getResourceAsStream("laf.xml",
                 MyClass.class));
        UIManager.setLookAndFeel(laf);

      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/plaf/synth/doc-files/synthFileFormat.html
      ###@###.### 2005-2-08 19:33:17 GMT

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: