-
Bug
-
Resolution: Fixed
-
P3
-
1.3.0
-
beta
-
sparc
-
solaris_7
-
Verified
JScrollBar's tracks respond to any mouse button event when they should only respond to the left mouse button.
The scrollbar should not respond to right and middle mouse clicks.
This occurred in JDK1.3 build F on the following machines:
blueyes (solaris)
bluenotes (NT 4.0)
jfcsqe-jupiter (Windows 98)
Steps to reproduce:
1. Create a JScrollPane with horizontal and vertical scrollbars.
2. Right mouse click in the scrollbar (in the track).
3. Middle mouse click in the scrollbar (in the track).
================================
Attempted to verify integration on Merlin-beta b50 and noticed that behavior still exists, at least on Solaris it still does. I only got to try it on Solaris. Run the following program:
java version "1.4.0-beta"Java HotSpot(TM) Client VM warning: ValueGen::do_LoopEnter(...) not implemented yet
Java HotSpot(TM) Client VM warning: ValueGen::do_LoopExit(...) not implemented yet
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b50)
Java HotSpot(TM) Client VM (build 1.4beta-B50, mixed mode)
-------------------------------- Cut Here --------------------------------
import java.awt.event.*;
import javax.swing.*;
public class SimpleTest extends JFrame {
private JTextArea textArea;
private JScrollPane scrollPane;
public static void main(String[] args) {
new SimpleTest();
}
public SimpleTest() {
textArea = new JTextArea(20, 20);
scrollPane = new JScrollPane(textArea);
getContentPane().add(scrollPane);
pack();
show();
}
}
-------------------------------- Cut Here --------------------------------
1) Type something in the text pane until the scroll bars appear.
2) Use the left, middle, or right button and you can scroll with any of them.
edmund.lou@eng 2001-02-05
Swing Test Development
========================================
Used SimpleTest.java to verify this bug against jdk1.4.0-beta-b53. This problem still occurs in jdk1.4.0-beta-b53.
Tested on Solaris 2.7 and Windows 95.
ben.pagatpatan@Eng 2001-02-28
-------------------------------------------------------------------------------
Used SimpleTest.java to verify this bug against jdk1.4.0-beta-b57. Fixed.
ben.pagatpatan@Eng 2001-03-28
--------------------------------------------------------------------------------
The scrollbar should not respond to right and middle mouse clicks.
This occurred in JDK1.3 build F on the following machines:
blueyes (solaris)
bluenotes (NT 4.0)
jfcsqe-jupiter (Windows 98)
Steps to reproduce:
1. Create a JScrollPane with horizontal and vertical scrollbars.
2. Right mouse click in the scrollbar (in the track).
3. Middle mouse click in the scrollbar (in the track).
================================
Attempted to verify integration on Merlin-beta b50 and noticed that behavior still exists, at least on Solaris it still does. I only got to try it on Solaris. Run the following program:
java version "1.4.0-beta"Java HotSpot(TM) Client VM warning: ValueGen::do_LoopEnter(...) not implemented yet
Java HotSpot(TM) Client VM warning: ValueGen::do_LoopExit(...) not implemented yet
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b50)
Java HotSpot(TM) Client VM (build 1.4beta-B50, mixed mode)
-------------------------------- Cut Here --------------------------------
import java.awt.event.*;
import javax.swing.*;
public class SimpleTest extends JFrame {
private JTextArea textArea;
private JScrollPane scrollPane;
public static void main(String[] args) {
new SimpleTest();
}
public SimpleTest() {
textArea = new JTextArea(20, 20);
scrollPane = new JScrollPane(textArea);
getContentPane().add(scrollPane);
pack();
show();
}
}
-------------------------------- Cut Here --------------------------------
1) Type something in the text pane until the scroll bars appear.
2) Use the left, middle, or right button and you can scroll with any of them.
edmund.lou@eng 2001-02-05
Swing Test Development
========================================
Used SimpleTest.java to verify this bug against jdk1.4.0-beta-b53. This problem still occurs in jdk1.4.0-beta-b53.
Tested on Solaris 2.7 and Windows 95.
ben.pagatpatan@Eng 2001-02-28
-------------------------------------------------------------------------------
Used SimpleTest.java to verify this bug against jdk1.4.0-beta-b57. Fixed.
ben.pagatpatan@Eng 2001-03-28
--------------------------------------------------------------------------------