diff --git a/diylc/diylc-core/src/org/diylc/netlist/Netlist.java b/diylc/diylc-core/src/org/diylc/netlist/Netlist.java
index 9fcf6f91..76c3fd6b 100644
--- a/diylc/diylc-core/src/org/diylc/netlist/Netlist.java
+++ b/diylc/diylc-core/src/org/diylc/netlist/Netlist.java
@@ -1,24 +1,21 @@
/*
-
- DIY Layout Creator (DIYLC).
- Copyright (c) 2009-2018 held jointly by the individual authors.
-
- This file is part of DIYLC.
-
- DIYLC is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- DIYLC is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with DIYLC. If not, see .
-
-*/
+ *
+ * DIY Layout Creator (DIYLC). Copyright (c) 2009-2018 held jointly by the individual authors.
+ *
+ * This file is part of DIYLC.
+ *
+ * DIYLC is free software: you can redistribute it and/or modify it under the terms of the GNU
+ * General Public License as published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * DIYLC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+ * Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with DIYLC. If not, see
+ * .
+ *
+ */
package org.diylc.netlist;
import java.util.ArrayList;
@@ -29,7 +26,7 @@ import java.util.Set;
import org.diylc.core.IDIYComponent;
public class Netlist implements Comparable {
-
+
private List> components;
private Set groups = new HashSet();
private List switchSetup = new ArrayList();
@@ -41,26 +38,26 @@ public class Netlist implements Comparable {
public Set getGroups() {
return groups;
}
-
+
public Netlist add(Group g) {
groups.add(g);
return this;
}
-
+
public List> getComponents() {
return components;
}
-
+
public List getSortedGroups() {
List list = new ArrayList(groups);
Collections.sort(list);
return list;
}
-
+
public List getSwitchSetup() {
return switchSetup;
}
-
+
public void done() {
Collections.sort(switchSetup);
}
@@ -93,6 +90,7 @@ public class Netlist implements Comparable {
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
+ sb.append("Switch setup: ").append(getSwitchSetup()).append("\n\n");
List list = getSortedGroups();
for (Group g : list) {
sb.append("\t").append(g).append("\n");
diff --git a/diylc/diylc-core/src/org/diylc/presenter/update.xml b/diylc/diylc-core/src/org/diylc/presenter/update.xml
index 9205a56c..5b188621 100644
--- a/diylc/diylc-core/src/org/diylc/presenter/update.xml
+++ b/diylc/diylc-core/src/org/diylc/presenter/update.xml
@@ -3804,15 +3804,27 @@
4
- 22
- 3
+ 23
+ 0
- 2022-03-18 00:00:00.000 CET
+ 2022-04-23 00:00:00.000 CET
-
+
BUG_FIX
- Improved rendering performance
+ Fixed the issue with the application not starting under Windows
+
+
+ NEW_FEATURE
+ Added 'Slide Switch' component
+
+
+ IMPROVEMENT
+ Improved rendering performance significantly
+
+
+ IMPROVEMENT
+ Include JRE in the universal ZIP package (the embedded JRE is only for Windows)
https://github.com/bancika/diy-layout-creator/releases