Hello everyone,
I tried something like the following and it compiles but doesn't doSomething().
I would like to doSomething() while a user is scrolling through text and JScrollPane documentation doesn't explicitly state how this is done.
Thank you very much.
--Glen
Memoria mihi benigna erit qui eam perscribam
I tried something like the following and it compiles but doesn't doSomething().
Code:
JScrollPane a;
...
a.addMouseListener(new MouseListener(){
public void mouseReleased(MouseEvent m){
doSomething();
}
...
}
Thank you very much.
--Glen
Memoria mihi benigna erit qui eam perscribam