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

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

    XMLWordPrintable

Details

    • b12
    • x86_64
    • generic
    • Verified

    Description

      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


      Attachments

        Activity

          People

            psadhukhan Prasanta Sadhukhan
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: