-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.4.0
-
None
-
x86
-
generic
Drag and Drop of serialized JTextArea to JPanel failing on Win98 platform only.
The failure occurs with the DnD Standard Look Testsuite. This automated test will perform a DnD of JTextArea to JPanel first as a Java Local Object (which passes), then secondly performs DnD of JTextArea to JPanel as a serialized object (which fails).
The test will fail after the drop has occured. Visually (after drop) the JTextArea gets stuck at the far left side of the JPanel, instead of moving to the center of the JPanel. If the window is manually refreshed, the JTextArea will be redrawn at the center (where it should be placed after the drop).
For the test, after the drop, it performs a verification by:
(JTextArea)targetJPanel.getComponent(1);
This is where a hang occurs as the method does not complete.
Steps to reproduce:
------------------
The framework for DnDSL Suite and single test TestJTextAreaJPanel.java
1) Unzip the attached files:
Lib/
classes/
awtsqe.jar
runwin.sh
TestJTextAreaJPanel.java
2) Set the JAVA_HOME variable on your win98 system
3) run the script "sh runwin.sh"
4) The test will then compile and run with the framework.
5) The first automated (Robot) test should pass, with Java Object, and the second test with serialized object will then hang after the drop.
Other Information:
-----------------
- Fails only on Win98
- The bug occurs with build 1.4.0-beta_refresh-b72
- The failure turned up with Merlin FL testing so it may be present for a few builds:
- Tested with beta_refresh-b70 and the test fails.
- Tested with beta_refresh-b67 and the test passes.
The failure occurs with the DnD Standard Look Testsuite. This automated test will perform a DnD of JTextArea to JPanel first as a Java Local Object (which passes), then secondly performs DnD of JTextArea to JPanel as a serialized object (which fails).
The test will fail after the drop has occured. Visually (after drop) the JTextArea gets stuck at the far left side of the JPanel, instead of moving to the center of the JPanel. If the window is manually refreshed, the JTextArea will be redrawn at the center (where it should be placed after the drop).
For the test, after the drop, it performs a verification by:
(JTextArea)targetJPanel.getComponent(1);
This is where a hang occurs as the method does not complete.
Steps to reproduce:
------------------
The framework for DnDSL Suite and single test TestJTextAreaJPanel.java
1) Unzip the attached files:
Lib/
classes/
awtsqe.jar
runwin.sh
TestJTextAreaJPanel.java
2) Set the JAVA_HOME variable on your win98 system
3) run the script "sh runwin.sh"
4) The test will then compile and run with the framework.
5) The first automated (Robot) test should pass, with Java Object, and the second test with serialized object will then hang after the drop.
Other Information:
-----------------
- Fails only on Win98
- The bug occurs with build 1.4.0-beta_refresh-b72
- The failure turned up with Merlin FL testing so it may be present for a few builds:
- Tested with beta_refresh-b70 and the test fails.
- Tested with beta_refresh-b67 and the test passes.
- duplicates
-
JDK-4484996 Performance Degradation while D-n-D of JComponents between diff JVM's on Win'98
- Closed