java - "Unpress" JButton which is looking pressed -
i have jbutton
in java
application. when button pressed, actions developed actionlistener take seconds finish, , button looks pressed time.
i want remove look, since looks application had frozen.
i have seen this related question, prefer different solution avoid changing lot of code.
is possible achieve?
resource sensitive tasks must not performed in ui thread (the thread handles ui clicks , other activities visible user), need separate time consuming tasks other thread.
another option show progress bar or till action over.
Comments
Post a Comment