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
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