Javaソース・エディタで、太字で示した次のコードを追加します。
public Object commandButton_action() {
// Add event code here...
saveInfo (this.username, this.email);
return null;
}
サンプル・コードを入力するかわりに、このウィンドウのコードをコピーしてJavaソース・エディタに貼り付けることができます。
Copyright © 1997, 2009, Oracle. All rights reserved.