scale widget with selectionListener [message #453523] |
Thu, 07 April 2005 07:44 |
Eclipse User |
|
|
|
Originally posted by: provin.ill.fr
Dear all,
I don't understand what's happened with the scale widget.I wrote following
sentences.
scale.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e){
System.out.println(scale.getSelection());
}
});
When I clicked on scale and maintained the mouse button pressed(without
moving mouse),the scale moved until it reached edge scale.The returned
value are :
1
11
21
31
41
51
61
71
81
91
100
Now I realesed the mouse button and I clicked again on scale widget(I
never moved the mouse)it performed a move in opposite direction.The
returned value are :
100,90,80,....0. Why scale moved whereas i'm not moving my mouse, just
cliking once?
Thanks for your helpful.
Best Regards.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03007 seconds