Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouse wheel crashes the scrolled List in SCO Java

Status
Not open for further replies.

stankow

IS-IT--Management
Oct 29, 2002
52
Hi,

I installed Java 1.4.2_12 on SCO 5.0.7 + MP4. It supports mouse wheel, it works in most widgets. Except, for scrolled lists :( If cursor is anywhere on scrolled list and just roll the wheel, the program crashes with those nasty stack dump. You can see the dump :
I'm afraid it is inside JVM, because the "nativeHandleMouse" in first line of stack.

Java 1.4.2_08 - the same problem. Other mouse type - Microsoft PS/2 (wheel), High Resolution, Low Resoluton mouse - same problem. Unscrolled Lists - no problem.

Does anybody meet this error ?

Example program follows.


import java.awt.*;

public class TstList extends Frame
{
public TstList ()
{
List list = new List (4, false);

list.add ("one");
list.add ("two");
list.add ("three");
list.add ("four");
list.add ("five");

setSize (200, 200);

add ("North", list);
show ();
}
//
// Test method
//
public static void main (String args[])
{
TstList tl;

tl = new TstList ();
}
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top