Fixed a bug in the user data dialog box, when values were not populated when using a custom UserData class

This commit is contained in:
Nehon 2014-06-07 14:30:40 +02:00
parent 51215a352e
commit 6ec736c005
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@
</Properties>
<SyntheticProperties>
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
<SyntheticProperty name="generateCenter" type="boolean" value="false"/>
</SyntheticProperties>
<AuxValues>
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>

View File

@ -137,8 +137,8 @@ public class UserDataDialog extends javax.swing.JDialog {
try {
prop = new SceneExplorerProperty(obj.getClass().cast(obj), returntype, method, setter);
prop.setName(name);
((SceneExplorerProperty)prop).syncValue();
} catch (NoSuchMethodException ex) {
Exceptions.printStackTrace(ex);