hi,
i know this post doesn’t really match in Java2D but i didn’t know where to put it else!
my question is:
is it possible to restrict the mouse moving area? if yes, how?
for example that the mouse pointer can’t go outside the window, or even better, that the mouse pointer can’t go outside a specific box inside the frame.
And how to swap between “restricted mode” and “free mode”?