javax.swing.JLayeredPane has used valueOf twice in example code in documentation

XMLWordPrintable

    • b12
    • x86_64
    • generic
    • Verified

      A DESCRIPTION OF THE PROBLEM :
      In the introductory text of the class under "Details" there are two code examples showing how to add a component to a JLayeredPane. One of the lines reads
      "layeredPane.add(child, Integer.valueOf.valueOf(10));".

      Delete "valueOf.".



      FREQUENCY : always


            Assignee:
            Prasanta Sadhukhan
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: