mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 09:10:48 +00:00
Fixed: Java 8 compatibility
This commit is contained in:
@@ -33,7 +33,7 @@ public class EasyPanel extends JPanel {
|
||||
* TODO: switch to true when Easy mode is released.
|
||||
* I think it's not production ready yet.
|
||||
*/
|
||||
public static final boolean EASY_AVAILABLE = true;
|
||||
public static final boolean EASY_AVAILABLE = false;
|
||||
|
||||
private TabSwitcher<SWF> tabSwitcher;
|
||||
private EasySwfPanel easySwfPanel;
|
||||
|
||||
+2
-2
@@ -732,7 +732,7 @@ public class InstancePropertiesPanel extends AbstractPropertiesPanel {
|
||||
DefaultComboBoxModel<String> model = (DefaultComboBoxModel<String>) blendingComboBox.getModel();
|
||||
if (blendMode.size() > 1) {
|
||||
if (!model.getElementAt(0).equals("")) {
|
||||
model.addAll(0, Arrays.asList(""));
|
||||
model.insertElementAt("", 0);
|
||||
}
|
||||
blendingComboBox.setSelectedIndex(0);
|
||||
} else {
|
||||
@@ -758,7 +758,7 @@ public class InstancePropertiesPanel extends AbstractPropertiesPanel {
|
||||
|
||||
if (backgroundColor.contains(null)) {
|
||||
if (backgroundModel.getSize() == 2) {
|
||||
backgroundModel.addAll(0, Arrays.asList(""));
|
||||
backgroundModel.insertElementAt("", 0);
|
||||
}
|
||||
backgroundComboBox.setSelectedIndex(0);
|
||||
backgroundColorPanel.setVisible(false);
|
||||
|
||||
Reference in New Issue
Block a user