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

Address reliance on default constructors in the javax.swing.plaf.metal APIs

    Details

      Description

      Several hundred classes in the java.desktop module reply on default constructors as part of their public API.
      This is for javax.swing.plaf.metal APIs

      Default ctor on javax.swing.plaf.metal.MetalBorders
      Default ctor on javax.swing.plaf.metal.MetalBorders.ButtonBorder
      Default ctor on javax.swing.plaf.metal.MetalBorders.Flush3DBorder
      Default ctor on javax.swing.plaf.metal.MetalBorders.InternalFrameBorder
      Default ctor on javax.swing.plaf.metal.MetalBorders.MenuBarBorder
      Default ctor on javax.swing.plaf.metal.MetalBorders.MenuItemBorder
      Default ctor on javax.swing.plaf.metal.MetalBorders.OptionDialogBorder
      Default ctor on javax.swing.plaf.metal.MetalBorders.PaletteBorder
      Default ctor on javax.swing.plaf.metal.MetalBorders.PopupMenuBorder
      Default ctor on javax.swing.plaf.metal.MetalBorders.RolloverButtonBorder
      Default ctor on javax.swing.plaf.metal.MetalBorders.ScrollPaneBorder
      Default ctor on javax.swing.plaf.metal.MetalBorders.TableHeaderBorder
      Default ctor on javax.swing.plaf.metal.MetalBorders.TextFieldBorder
      Default ctor on javax.swing.plaf.metal.MetalBorders.ToggleButtonBorder
      Default ctor on javax.swing.plaf.metal.MetalBorders.ToolBarBorder
      Default ctor on javax.swing.plaf.metal.MetalButtonUI
      Default ctor on javax.swing.plaf.metal.MetalCheckBoxIcon
      Default ctor on javax.swing.plaf.metal.MetalCheckBoxUI
      Default ctor on javax.swing.plaf.metal.MetalComboBoxEditor.UIResource
      Default ctor on javax.swing.plaf.metal.MetalComboBoxIcon
      Default ctor on javax.swing.plaf.metal.MetalComboBoxUI
      Default ctor on javax.swing.plaf.metal.MetalComboBoxUI.MetalComboBoxLayoutManager
      Default ctor on javax.swing.plaf.metal.MetalComboBoxUI.MetalPropertyChangeListener
      Default ctor on javax.swing.plaf.metal.MetalFileChooserUI.FilterComboBoxRenderer
      Default ctor on javax.swing.plaf.metal.MetalIconFactory
      Default ctor on javax.swing.plaf.metal.MetalIconFactory.FileIcon16
      Default ctor on javax.swing.plaf.metal.MetalIconFactory.FolderIcon16
      Default ctor on javax.swing.plaf.metal.MetalIconFactory.PaletteCloseIcon
      Default ctor on javax.swing.plaf.metal.MetalIconFactory.TreeFolderIcon
      Default ctor on javax.swing.plaf.metal.MetalIconFactory.TreeLeafIcon
      Default ctor on javax.swing.plaf.metal.MetalLabelUI
      Default ctor on javax.swing.plaf.metal.MetalLookAndFeel
      Default ctor on javax.swing.plaf.metal.MetalMenuBarUI
      Default ctor on javax.swing.plaf.metal.MetalPopupMenuSeparatorUI
      Default ctor on javax.swing.plaf.metal.MetalProgressBarUI
      Default ctor on javax.swing.plaf.metal.MetalRadioButtonUI
      Default ctor on javax.swing.plaf.metal.MetalRootPaneUI
      Default ctor on javax.swing.plaf.metal.MetalScrollBarUI
      Default ctor on javax.swing.plaf.metal.MetalScrollPaneUI
      Default ctor on javax.swing.plaf.metal.MetalSeparatorUI
      Default ctor on javax.swing.plaf.metal.MetalSplitPaneUI
      Default ctor on javax.swing.plaf.metal.MetalTabbedPaneUI
      Default ctor on javax.swing.plaf.metal.MetalTextFieldUI
      Default ctor on javax.swing.plaf.metal.MetalTheme
      Default ctor on javax.swing.plaf.metal.MetalToggleButtonUI

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psadhukhan Prasanta Sadhukhan
                Reporter:
                prr Philip Race
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: