Back Forum Reply New
Hi there!

I'm newbie at Spring and I have a following question. I don'n understand how to inject data that haven't bean-specified setter. E.g. javax.swing.JMenu has add(JMenuItem menuItem) method, but how to call this method in applicationContext.xml to inject JMenuItem instance to JMenu? And so javax.swing.Action has putValue(String key, Object value) method to set value, but how to use it in applicationContext.xml? Can anybody help me?

Regards, Paul.
¥
Back Forum Reply New