LogInWindow(JFrame)にJTextFieldがあります。そのJTextFieldに、ユーザーはその名前を入力します。
別のStudentWindow(JFrame)があり、そのコンストラクターにはそのユーザー名Stringがパラメーターとしてあります。
私のxmlファイルで、JTextFieldからの入力をどのように挿入できますか?
<!-- GUI Beans -->
<bean id="logInWindow" class="gui.LogInWindow">
<constructor-arg ref="controller"/>
<property name="nameJTextField" value="?? Need help here ??"/>
</bean>
<bean id="studentWindow" class="gui.StudentWindow">
<constructor-arg ref="????????"/>
</bean>
前もって感謝します。