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

SynthListUI / SynthInternalFrameTitlePane updateStyle() ignores method argument

XMLWordPrintable

      I was tracking how to get a ComponentUI in to the setSelectedUI() method and
      I found these two cases of updateStyle() where its argument is not passed to
      the getContext() call:

      SynthInternalFrameTitlePane.java:
          private void updateStyle(JComponent c) {
              SynthContext context = getContext(this, ENABLED);

      SynthListUI.java:
          private void updateStyle(JComponent c) {
              SynthContext context = getContext(list, ENABLED);

      In all other updateStyle() methods the argument is passed to the getContext() call.

            Unassigned Unassigned
            ahgross Andrew Gross
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: