Added #1870 AS3 Adding new class - Target DoABC tag or position can be selected to prevent Error 1014

This commit is contained in:
Jindra Petřík
2022-11-16 18:07:45 +01:00
parent c0f9fd4fcc
commit 30fbef178d
9 changed files with 339 additions and 39 deletions

View File

@@ -36,6 +36,8 @@ public abstract class AppDialog extends JDialog {
private ResourceBundle resourceBundle = ResourceBundle.getBundle(AppStrings.getResourcePath(getClass()));
protected Window owner;
/*public AppDialog() {
View.installEscapeCloseOperation(this);
if (Configuration.useRibbonInterface.get()) {
@@ -45,6 +47,7 @@ public abstract class AppDialog extends JDialog {
public AppDialog(Window owner) {
super(owner);
this.owner = owner;
View.installEscapeCloseOperation(this);
if (Configuration.useRibbonInterface.get()) {
getRootPane().setWindowDecorationStyle(JRootPane.FRAME);