mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-26 14:31:02 -04:00
Ensure that the modal dialogs AttributeDialog and SingleValueDialog are in front of other dialogs like the dialog of the GraphicRAM or the terminal dialog
This commit is contained in:
parent
fa7e894496
commit
60ac829aa1
@ -98,6 +98,7 @@ public class AttributeDialog extends JDialog {
|
||||
getRootPane().registerKeyboardAction(cancel,
|
||||
KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0),
|
||||
JComponent.WHEN_IN_FOCUSED_WINDOW);
|
||||
setAlwaysOnTop(true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -106,6 +106,7 @@ public final class SingleValueDialog extends JDialog {
|
||||
setLocation(pos.x, pos.y);
|
||||
textField.requestFocus();
|
||||
textField.select(0, Integer.MAX_VALUE);
|
||||
setAlwaysOnTop(true);
|
||||
}
|
||||
|
||||
private JPanel createCheckBoxPanel(int bits, long value) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user