2009年5月7日木曜日

AWT ウインドウの状態変更のイベント

■イベント
ウインドウのアイコン化や最大化されたときに発生する
WindowEvent:WindowStateListenerを組み込んで処理する
■WindowStateListenerの組み込み
ウインドウ.addWindowStateListener(WindowStateListener);
■WindowStateListenerのイベント処理用メソッド
public void windowStateChanged(WindowEvent ev)
ウインドウの状態が変更されたときに呼び出される

0 件のコメント:

コメントを投稿