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

REGRESSION: setCursor does not work in b49 on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • 5.0
    • infrastructure
    • x86
    • windows_2000

      Canvas.setCursor(new Cursor(Cursor.HAND_CURSOR)) does not change the cursor on Windows (at least Windows 2000 professional). This bug is preventing plugin correctly implementing PhoneHome v2.

      The bug can be reproduced with following simple app with b49. It works well with 1.4.2

      import java.awt.*;

      public class Test {

      public static void main(String[] args) {
      Frame f = new Frame();
      f.setSize(300, 300);
      Canvas c = new Canvas();
      f.add(c);
      c.setCursor(new Cursor(Cursor.HAND_CURSOR));

      f.show();


      }

            vjayaramsunw Vijayan Jayaraman (Inactive)
            zgu Zhengyu Gu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: