News
Forums
Search
Members
Sign Up
My Code Newbie
Username
Password
Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET
C.N. Friends
Planet Rome
Link to Us!
Code Newbie
Code Forums
>
Application and Web Development
>
Java
Exit in Java
User Name
Remember Me?
Password
Register
FAQ
Calendar
Search
Today's Posts
Mark Forums Read
LinkBack
Thread Tools
Display Modes
04-23-2003, 03:43 PM
#
1
(
permalink
)
sno2dude
Registered User
Join Date: Apr 2003
Location: Michigan Tech
Posts: 38
Exit in Java
Okay, heres a teaser for you. How do you catch when the x in the frame of a program is pressed so that i can use that button as the exit for my program instead of having to create and add my own all the time.
sno2dude
View Public Profile
Visit sno2dude's homepage!
Find More Posts by sno2dude
04-23-2003, 06:30 PM
#
2
(
permalink
)
abc123
bloomberg
Join Date: Jun 2002
Location: bloomberg
Posts: 263
there is at least 3 ways of doing this
one is with jni
1 is not really the best one
the last way would be perfect and i would love to tell you .... but!
__________________
-- bloomberg.
abc123
View Public Profile
Visit abc123's homepage!
Find More Posts by abc123
04-23-2003, 06:57 PM
#
3
(
permalink
)
sno2dude
Registered User
Join Date: Apr 2003
Location: Michigan Tech
Posts: 38
forget this post, i already figured it out
setDefaultCloseOperation(EXIT_ON_CLOSE);
and dont be an ass just cuz you are wrong abc123, it makes you and all other computer programmers look bad.
sno2dude
View Public Profile
Visit sno2dude's homepage!
Find More Posts by sno2dude
04-23-2003, 06:59 PM
#
4
(
permalink
)
abc123
bloomberg
Join Date: Jun 2002
Location: bloomberg
Posts: 263
Quote:
Originally posted by sno2dude
forget this post, i already figured it out
setDefaultCloseOperation(EXIT_ON_CLOSE);
and dont be an ass just cuz you are wrong abc123, it makes you and all other computer programmers look bad.
mmm
__________________
-- bloomberg.
abc123
View Public Profile
Visit abc123's homepage!
Find More Posts by abc123
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Java Developer Position in Kansas City
justplaindoug
Java
0
10-29-2004
12:52 PM
JAVA Hobbyists Wanted
emteam
Java
0
08-29-2004
12:27 PM
IBM urges Sun to make Java open source
redhead
Code Newbie News
0
03-01-2004
11:39 PM
All times are GMT -8. The time now is
12:05 AM
.
Contact Us
-
CodeNewbie.com
-
Archive
-
Top
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.
Copyright © 2000-2008,
Milano Interactive
Web Hosting provided by
Portal 360 Web Hosting
LinkBack
LinkBack URL
About LinkBacks