>>215
ボタンにaddActionListenerでActionListenerを実装したクラスを登録。
そのクラスのactionPerformedメソッドの中で、
txt1 + txt2の答をtxt3のsetTextメソッドで設定する。