What does it mean the button is armed开发者_如何学C?
It is similar to the pressed state. The difference is that armed means that the mouse remains pressed within the bounds of the button. See this reference for more details.
The button is pressed (but not released)! See this link.
Pressed means either by mouse button (pointer still within button regions) or by space button on keyboard.
The JButton state of being hold state with mousepressed event is called armed state
精彩评论