Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Oct 23rd, 2017
78
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
public class Main {
Timer timer = new Timer();
//later on
timer.schedule(new stopItNow(), 5000);
//stopItNow
class stopItNow extends TimerTask{
public void run(){
System.exit(0);
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Div HTML estructura del titulo - Fashion Slid...
HTML | 29 sec ago | 0.05 KB
BSRP
SQL | 6 min ago | 109.43 KB
ee
C++ | 20 min ago | 3.26 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 21 min ago | 0.39 KB
ex10 kispython
Python | 28 min ago | 2.08 KB
CC mekanism Induction Battery Monitoring V1
Lua | 43 min ago | 5.33 KB
Задача 6
Python | 44 min ago | 0.32 KB
installextras
Bash | 45 min ago | 43.63 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!