Swing API value changed and button clicked as observable