I need to code a Java Application which runs on the desktop. It's a continuously running application. It runs all the time.   It should not show any UI unless there is an event.The application polls a server for the event. When the event happens, the application should popup a message - the message should remain till the time the user clicks on it.When the user clicks on the message, it should show a UI allowing him to do further actions with the UI. When the user is done - he dismisses the UI till the next event happensI am exploring ways by which I can achieve this. I was thinking of a System Tray application which pops up a message. From the docs, it seems as if the message disappears after some time even if the user does not click it. I do not want this behavior. What would be the best UI design I should use for this?
Background application which pops up a UI based on events
java;ui