Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
Event Handling 3

Event Handling 3

Ratings: (0)|Views: 52|Likes:
Published by api-3840828

More info:

Published by: api-3840828 on Oct 18, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

Event Handling
part 3
Handling Window Events
Example Revisited
Window Exit Handler
Example Reveisted
// Event Handlers for WindowListener
public void windowActivated (WindowEvent we) { }
public void windowClosed (WindowEvent we) { }
public void windowClosing (WindowEvent we) {
JOptionPane.showMessageDialog(null, \u201cGood Bye\u201d);
System.exit(0)
}public void windowDeactivated (WindowEvent we) { }

public void windowDeiconified (WindowEvent we) { }
public void windowIconified (WindowEvent we) { }
public void windowOpened (WindowEvent we) { }

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->