Skip to content

Commit

Permalink
#1619 JavaFX windows restore to previous size on view.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Sheirer committed Nov 11, 2023
1 parent 672207c commit 070065f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/io/github/dsheirer/gui/JavaFxWindowManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ public void process(final JmbeEditorRequest request)
else
{
execute(() -> {
getJmbeEditorStage().setIconified(false);
getJmbeEditorStage().show();
getJmbeEditorStage().requestFocus();
getJmbeEditorStage().toFront();
Expand Down Expand Up @@ -317,6 +318,7 @@ public void process(PlaylistEditorRequest request)
execute(() -> {
try
{
getPlaylistStage().setIconified(false);
getPlaylistStage().show();
getPlaylistStage().requestFocus();
getPlaylistStage().toFront();
Expand Down Expand Up @@ -367,6 +369,7 @@ private Stage getUserPreferencesStage()
public void process(final ViewUserPreferenceEditorRequest request)
{
execute(() -> {
getUserPreferencesStage().setIconified(false);
getUserPreferencesStage().show();
getUserPreferencesStage().requestFocus();
getUserPreferencesStage().toFront();
Expand Down Expand Up @@ -409,6 +412,7 @@ private Stage getChannelMapStage()
public void process(final ViewIconManagerRequest request)
{
execute(() -> {
getIconManagerStage().setIconified(false);
getIconManagerStage().show();
getIconManagerStage().requestFocus();
getIconManagerStage().toFront();
Expand All @@ -423,6 +427,7 @@ public void process(final ViewChannelMapEditorRequest request)
{
execute(() -> {
getChannelMapStage().show();
getChannelMapStage().setIconified(false);
getChannelMapStage().requestFocus();
getChannelMapStage().toFront();
getChannelMapEditor().process(request);
Expand All @@ -436,6 +441,7 @@ public void process(final ViewChannelMapEditorRequest request)
public void process(final ViewRecordingViewerRequest request)
{
execute(() -> {
getRecordingViewerStage().setIconified(false);
getRecordingViewerStage().show();
getRecordingViewerStage().requestFocus();
getRecordingViewerStage().toFront();
Expand Down

0 comments on commit 070065f

Please sign in to comment.