How can I show ms outlook's notification like popup in java swing? is it possible? any other alternative for this?
Simply use an undecorated JFrame ( frame.setUndecorated(true) ) and calculate the location and size by using Toolkit.getDefaultToolkit().getScreenSize().
You will need to take a look at the System Tray API. The displayIcon method should do what you need:
Displays a popup message near the tray icon. The message will disappear after a time or if the user clicks on it. Clicking on the message may trigger an ActionEvent.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With