diff --git a/pom.xml b/pom.xml
index 5ab6300..7ae819d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.github.g3force
instanceables
- 1.0
+ v1.1
instanceables
@@ -28,22 +28,50 @@
com.github.g3force
String2ValueConverter
- v1.3
+ v1.4
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 3.3
-
-
- 1.7
-
-
-
-
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.3
+
+
+ 1.7
+
+
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+ 2.4
+
+
+ attach-sources
+
+ jar
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 2.10.3
+
+
+ attach-javadocs
+
+ jar
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/java/com/github/g3force/instanceables/InstanceablePanel.java b/src/main/java/com/github/g3force/instanceables/InstanceablePanel.java
index 172c2b1..41a010c 100644
--- a/src/main/java/com/github/g3force/instanceables/InstanceablePanel.java
+++ b/src/main/java/com/github/g3force/instanceables/InstanceablePanel.java
@@ -46,10 +46,10 @@ public class InstanceablePanel extends JPanel
private final List inputFields = new ArrayList<>();
private JButton btnCreate = null;
private final List observers = new CopyOnWriteArrayList();
-
+
private final Properties prop;
-
-
+
+
/**
* @param instanceableEnums
*/
@@ -159,7 +159,10 @@ public void setEnabled(final boolean enabled)
{
cbbInstances.setEnabled(enabled);
inputPanel.setEnabled(enabled);
- btnCreate.setEnabled(enabled);
+ if (btnCreate != null)
+ {
+ btnCreate.setEnabled(enabled);
+ }
}