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

JMenu renders falsely (unused blank space at the bottom) on first time popup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0
    • client-libs



      Name: gm110360 Date: 09/14/2004


      FULL PRODUCT VERSION :
      java version "1.5.0-rc"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-rc-b63)
      Java HotSpot(TM) Client VM (build 1.5.0-rc-b63, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Windows XP with SP1

      A DESCRIPTION OF THE PROBLEM :
      When a JMenu added to a JFrame pops up for the first time, there is a unused blank space added under/at the bottom of the last JMenuItem. When you close the JMenu and reopen it again, the blank space under the last JMenuItem is gone.

      For multiple recursive added submenus the blank space added at the bottom of the last JMenuItem increases wich each submenu level.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Simply use the JMenu Webstart demo from your java tutorial:
      http://java.sun.com/docs/books/tutorialJWS/uiswing/components/example-1dot4/MenuDemo.jnlp

      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Incident Review ID: 302327)
      ======================================================================

            kizune Alexander Zuev
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: