> i tried it already. but nothing happened. however, i not sure is becos
> of my coding or becos it doesn't work this way.
So post the code you tried so we can see if there are any obvious mistakes. Don't make use guess what your did.
When you press down a the mouse button a mousePressed event is generated which causes the button look to change to a pressed state. This means that the paintComponent() event for the button must be invoked. So the answer would be yes.
Although maybe what you are really trying to do is:
System.out.println(getModel().isArmed());