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

JTable header can be made shorter than JTable itself

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 7
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:

      Description

      This bug is opened because of the
      CR 4473075: JTable header rendering problem (after setting preferred size)

      Please see the test case from that bug
      as you can see setPreferredSize() allows you to have a table header
      shorter than a table itself

      you set the size for a header, then scroll the table
      and after that the header doesn't cover all area above the table

      After CR 4473075 is fixed you won't see the garbage on the screen any more
      but question is

      "Should we allow table header to be shorter then its table ?"
      If it is a bug we need to lay it out in respect to the current JTable's width

      JDK 7

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alexsch Alexandr Scherbatiy
              Reporter:
              alexp Alexander Potochkin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: