Results 1 to 2 of 2
- 02-01-2010, 09:52 AM #1Member
- Join Date
- Dec 2008
- Rep Power
JoptionPane.showmessegeDialog that close after 20 seconds
I want to have Simple messeging , like JoptionPane.showmessegeDialog - but that close by itself , after some time even the user did not push the ok button
Is there any way that do not include new treads - I'm afraid that opening new treads every time I want to make timer-Messege might overload my program which is quite slow as it is.
This can be done by using a Swing Timer and a JDialog.
- By Basit56 in forum New To JavaReplies: 4Last Post: 12-31-2009, 06:54 AM
- By jazzy639 in forum New To JavaReplies: 11Last Post: 09-26-2009, 06:58 PM
- By ali_sakar in forum New To JavaReplies: 3Last Post: 03-06-2009, 09:37 AM
- By ProUnbeatable in forum New To JavaReplies: 5Last Post: 10-11-2008, 03:07 AM
- By Java Tip in forum Java TipReplies: 0Last Post: 11-06-2007, 01:11 PM