-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
8u72
-
x86
-
os_x
FULL PRODUCT VERSION :
ADDITIONAL OS VERSION INFORMATION :
Darwin Kernel Version 14.5.0: Tue Sep 1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64
A DESCRIPTION OF THE PROBLEM :
While dragging the divider of a JSplitPane, the cursor either flickers or changes to a default cursor. The cursor flickers when continuous layout is enabled until the full extent is reached. The cursor changes to the default cursor when continuous layout is not enabled.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run the test program and drag the divider.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The cursor should change to a resize cursor when the mouse is over the divider and should remain a resize cursor while dragging the divider.
ACTUAL -
The cursor either flickers or changes to a default cursor while dragging the divider.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
package test;
import java.awt.BorderLayout;
import java.awt.Container;
import javax.swing.JFrame;
import javax.swing.JSplitPane;
public class Test
{
public Test()
{
JFrame fr = new JFrame();
Container p = fr.getContentPane();
p.setLayout(new BorderLayout());
JSplitPane sp = new JSplitPane();
sp.setDividerLocation(200);
sp.setContinuousLayout(true);
p.add(sp);
fr.setBounds(100, 100, 1000, 1000);
fr.setVisible(true);
}
public static void main(String[] args)
{
new Test();
}
}
---------- END SOURCE ----------
ADDITIONAL OS VERSION INFORMATION :
Darwin Kernel Version 14.5.0: Tue Sep 1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64
A DESCRIPTION OF THE PROBLEM :
While dragging the divider of a JSplitPane, the cursor either flickers or changes to a default cursor. The cursor flickers when continuous layout is enabled until the full extent is reached. The cursor changes to the default cursor when continuous layout is not enabled.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run the test program and drag the divider.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The cursor should change to a resize cursor when the mouse is over the divider and should remain a resize cursor while dragging the divider.
ACTUAL -
The cursor either flickers or changes to a default cursor while dragging the divider.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
package test;
import java.awt.BorderLayout;
import java.awt.Container;
import javax.swing.JFrame;
import javax.swing.JSplitPane;
public class Test
{
public Test()
{
JFrame fr = new JFrame();
Container p = fr.getContentPane();
p.setLayout(new BorderLayout());
JSplitPane sp = new JSplitPane();
sp.setDividerLocation(200);
sp.setContinuousLayout(true);
p.add(sp);
fr.setBounds(100, 100, 1000, 1000);
fr.setVisible(true);
}
public static void main(String[] args)
{
new Test();
}
}
---------- END SOURCE ----------