Mouse select moves window (Mac)

  • Thread starter Magnus Gunnarsson
  • Start date
M

Magnus Gunnarsson

This problem occurs in several places, but it is most obvious in this
example: In a simple dialog with e.g. a JTextArea the user should be
able to press-and-drag to select a portion of the text. As it is now,
press-and-drag *does* select, but at the same time the window moves the
entire dialog, as if the top bar had been pointed at. That makes the
selection very difficult.

As I understand it there is something strange in the message handling,
so that the select mechanism does not consume the event properly, but
passes it on to the window move mechanism. I tried to consume the event
in a separate event handler, without success.

This must be a known problem. Anybody?

Magnus Gunnarsson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,008
Latest member
HaroldDark

Latest Threads

Top