Hello,
I have a swing application which expects the inclusion of a USB key. If the user does not insert the USB key after two minutes of waiting I'd like the application continues to wait. So a timeoutqueue is what I want. I tried the java.util.Timer but I do not know what to use as a method. I wonder if that is the right object that I use. How to manage time in java. Could you help me?
Bookmarks