mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 20:31:01 +00:00
Fixed: #1670 Parent component/window of dialogs not properly set
This commit is contained in:
@@ -22,6 +22,7 @@ import java.awt.BorderLayout;
|
||||
import java.awt.Container;
|
||||
import java.awt.FlowLayout;
|
||||
import java.awt.Font;
|
||||
import java.awt.Window;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import javax.swing.JButton;
|
||||
@@ -43,7 +44,8 @@ public class GotoAddressDialog extends AppDialog {
|
||||
private final JCheckBox hexCheckBox;
|
||||
private boolean okPressed = false;
|
||||
|
||||
public GotoAddressDialog() {
|
||||
public GotoAddressDialog(Window owner) {
|
||||
super(owner);
|
||||
setDefaultCloseOperation(HIDE_ON_CLOSE);
|
||||
setTitle(translate("dialog.title"));
|
||||
lineTextField = new JTextField(10);
|
||||
|
||||
Reference in New Issue
Block a user