-
Bug
-
Resolution: Fixed
-
P1
-
1.2.0
-
1.2beta2
-
generic
-
solaris_2.5
-
Verified
on Win32, users won't be able to use default cursors for drag-n-drop due to the absence of file: $(JDK_HOME)\lib\images\cursors\cursors.properties. (Solaris version does have the file.) The problem is in beta 2 candidate build JDK1.2 V.
The following exception encountered if user use Cursor (null) for dragging:
java.awt.AWTError: Exception: class java.io.FileNotFoundException F:\JDK12^M
\..\lib\images\cursors\cursors.properties occurred while loading: F:\JDK12^M
\..\lib\images\cursors\cursors.properties^M
at java.awt.dnd.DragSource.load(DragSource.java:69)^M
at^M
at MySource$1.mousePressed(Sample.java:147)^M
at java.awt.Component.processMouseEvent(Component.java:2492)^M
at java.awt.Component.processEvent(Component.java:2338)^M
at java.awt.Button.processEvent(Button.java:224)^M
at java.awt.Component.dispatchEventImpl(Component.java:1909)^M
at java.awt.Component.dispatchEvent(Component.java:1824)^M
at java.awt.EventQueue.dispatchEvent(EventQueue.java:160)^M
at java.awt.EventDispatchThread.run(EventDispatchThread.java:45)^M
The following exception encountered if user use Cursor (null) for dragging:
java.awt.AWTError: Exception: class java.io.FileNotFoundException F:\JDK12^M
\..\lib\images\cursors\cursors.properties occurred while loading: F:\JDK12^M
\..\lib\images\cursors\cursors.properties^M
at java.awt.dnd.DragSource.load(DragSource.java:69)^M
at^M
at MySource$1.mousePressed(Sample.java:147)^M
at java.awt.Component.processMouseEvent(Component.java:2492)^M
at java.awt.Component.processEvent(Component.java:2338)^M
at java.awt.Button.processEvent(Button.java:224)^M
at java.awt.Component.dispatchEventImpl(Component.java:1909)^M
at java.awt.Component.dispatchEvent(Component.java:1824)^M
at java.awt.EventQueue.dispatchEvent(EventQueue.java:160)^M
at java.awt.EventDispatchThread.run(EventDispatchThread.java:45)^M