Pilot Study of Selective Messages
Message thread:Message Description:Poster wrote a program: when the mouse enters the region of a button, the button would stick with the mouse. However, if the poster moves
the cursor too fast it will escaped from the button area. The reason is because the mouseEvents are being generated faster than the GUI can
repaint the button at its new location. Eventually the mouse is no longer positioned over the button and is now positioned over the content pane.
One advice is change the button feature as: when clicked, button would stick to the cursor. However, poster seems only wants to make a try of his
assignment: manage to get three buttons, one that will always escape and can never be touched, one that will shrink so you can never click it, and
one that will follow the mouse when touched.
Message type:goal-oriented is what I prefer. Although poster provide a compiled code, he just wants to make a try of behavior between button and
cursors.
Q&A process:
q1-a1(solution mentioned)-a2(confirm solution/advice of a1)What is the situation of the Q/A?Poster wrote a program to make a try of cursor behavior. Something different from his anticipation. A follower thought it should
because his repaint speed cannot keep up with his cursor moving speed. What should be the most objective way of Q/A?good enough. Poster clearly knows what he want and what he's looking for. So did the follower. With code/not:
providing solution;clarifying problemCommunication media (code/image/word....): word description; compiled codeSwing category: Button specific--button inheritance, repaint speedStatus of Code:solution provided and clarify problem
Other description:
mouse event + widget location