Javaソース・エディタで、太字で示した次のコードをファイルに追加します。
// Add event code here...
outputText1.setValue("Hello "+inputText1.getValue());
return null;
サンプル・コードを入力するかわりに、このウィンドウのコードをコピーしてJavaソース・エディタに貼り付けることができます。
Copyright © 1997, 2006, Oracle. All rights reserved.