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

MetalRootPaneUI calls to deprecated code

XMLWordPrintable

    • b68
    • generic, x86
    • generic, windows_xp

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

        A DESCRIPTION OF THE PROBLEM :
        javax.swing.plaf.metal.MetalRootPaneUI calls to JRootPane.getMenuBar(). This code must be updated for call to JRootPane.getJMenuBar() because getMenuBar() is deprecated. See lines 447, 448, 499, 500, 548, 549, 621-623 of MetalRootPaneUI source.


        REPRODUCIBILITY :
        This bug can be reproduced always.

              serb Sergey Bylokhov
              ndcosta Nelson Dcosta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: