java observable interface code example Example: java observable setChanged(); notifyObservers(object_that_u_want_to_send_to_Observer);