home / blog

Tag Archives: beans

Spring XML + BeanInfos

Why can’t Spring XML be used to set property javax.swing.cursor? <bean id=”foo” class=”javax.swing.JPanel”> <property name=”cursor”> <bean class=”com.adamish.foo.CursorFactory” factory-method=”createCursor” /> </property> </bean> The resultant exception: org.springframework.beans.NotWritablePropertyException: Invalid property ‘cursor’ of bean class [javax.swing.JPanel]: Bean property ‘cursor’ is not writable or has … Continue reading

Posted in geek | Tagged , , | Leave a comment