Thanks for reply,
<bean id="button" class="SWTButton"/>
<bean id="frame1" class="SWTFrame">
<constructor-arg ref="button"/>
</bean>
<bean id="frame2" class='SWTFrame">
<constructor-arg ref="button"/>
</bean>
Let's say button has a property called name.
Code:
<bean id="button" class="SWTButton">
<property "name">
<value>button1</value>
</property>
</bean>
How to reset the button name in code.
Is that do a
Code:
Button b = (Button)applicationConext.getBean("Button");
b.setName("button2");
After set, will the context know the property of bean button has been change?