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

Frame resize cursor showing when it shouldn't

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 6
    • Fix Version/s: 6-pool
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      Compile and run the attached test case, TablePrintDemo1.java, on Windows XP.

      - Place your mouse over the JScrollBar thumb.
      - Press and hold the mouse button.
      - Drag to the right until you're over the frame's border.
      - Drag downward.
         The scrollbar starts moving, BUT the cursor changes to the resize cursor.
         If you continue dragging outside the frame, it will stay as the resize cursor.
         Stays that way until release, or until you drag back into the frame.

      Extremely odd observation: If you change the number of columns in the JTable, by changing the return value of getColumnCount() to 6 or 7, the problem goes away. However, this is NOT related to JTable. The same problem has been seen with JTree.

      This is an annoying bug, in that the cursor is suggesting an action that isn't happening.
      This is not a recent regression - happens in 1.5, and (while this testcase doesn't work in 1.4.2) I've seen similar on 1.4.2.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dav Andrei Dmitriev (Inactive)
              Reporter:
              shickeysunw Shannon Hickey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: