I want to find a way to display a notification (like a JOptionpane
, a JLabel
or any other type) only one time after a user launches my application that is formed in a.jar
file.
By only one time, I mean that the user gets a one-time notification after the first use, then for every following times my application runs, this notification should not appear.
My application uses Java Swing. Is there a hint how to make a message pops up from the main JFrame
for example?