Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-4800

[classlib][swing] Inconsistent rendererPane handling in installUI()

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.0M4
    • Classlib
    • None
    • Win32 + Linux32

    Description

      I am not sure if it is a bug or not.
      I see that sometimes the rendererPane is added into specific JComponent when installUI() and removed from it when uninstallUI(). For example, in BasicTreeUI or BasicListUI.
      But in some other times, for example, in BasicTableUI, the rendererPane is not added or removed.
      I am just afraid that in later case (BasicTableUI) the rendererPane.paintComponent(g, renderingComponent, table, cellRect); (call from paint()) may have some problems, but so far I have not seen them.

      Attachments

        Activity

          People

            cap Alexey Petrenko
            chunrong lai Chunrong Lai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: