Skip to content

Commit

Permalink
Fixed: Java 8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jindrapetrik committed Oct 29, 2024
1 parent 94ab42c commit 9631044
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
7 changes: 2 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
All notable changes to this project will be documented in this file.

## [Unreleased]
### Added
- Simple editor view - new simplified UI based on timeline view,
which resembles Flash Pro UI. Easier moving objects,
resizing, adding frames, adding objects to stage. Instance property editation.
Undo / redo feature. WIP
### Fixed
- Java 8 compatibility

## [21.1.2] - 2024-10-29
### Added
Expand Down
2 changes: 1 addition & 1 deletion src/com/jpexs/decompiler/flash/easygui/EasyPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ public void update() {
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 {
Expand All @@ -758,7 +758,7 @@ public void update() {

if (backgroundColor.contains(null)) {
if (backgroundModel.getSize() == 2) {
backgroundModel.addAll(0, Arrays.asList(""));
backgroundModel.insertElementAt("", 0);
}
backgroundComboBox.setSelectedIndex(0);
backgroundColorPanel.setVisible(false);
Expand Down

0 comments on commit 9631044

Please sign in to comment.