Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0-beta-4
-
None
-
None
Description
this works
b = new javax.swing.JButton("foo")
b.actionPerformed = { println("Found ${it}") }
however this fails
groovy> b.actionPerformed
groovy>
Caught: groovy.lang.MissingPropertyException: No such property: actionPerformed for class: javax.swing.JButton
groovy.lang.MissingPropertyException: No such property: actionPerformed for class: javax.swing.JButton
at groovy.lang.MetaClass.getProperty(MetaClass.java:434)