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

hourglass cursor & modal dialog

XMLWordPrintable

    • 02
    • sparc
    • solaris_8
    • Verified

        We have a JFrame displayed with a button that displays a modal dialog. Before displaying the dialog, we put a glasspane with an hour glass to simulate locking the GUI (our real app does some intensive server logic). When I hit OK on the dialog, another hour glass on the dialog is displayed to simulate more server logic and the dialog disappears....
        The issue is after the dialog disappears the following scenarios happen:

            1. If after hitting the OK on the dialog AND the cursor
            remains OVER the dialog, then the cursor correctly
            changes back to a DEFAULT (arrow) cursor for the
            frame. This is correct and consistent on both
            Windows and Solaris.

            2. If after hitting the OK on the dialog AND the cursor
            remains OUTSIDE the dialog/OVER the frame, then
                --> On Windows: cursor correctly displays the default cursor
                --> On Solaris: cursor incorrectly displays the hourglass.

        The testcase is attached

              son Oleg Sukhodolsky (Inactive)
              rramchansunw Rajesh Ramchandani (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: