Merge lp:~tapaal-contributor/tapaal/dialog-always-on-top-1918912 into lp:tapaal

Proposed by Lena Said
Status: Merged
Approved by: Jiri Srba
Approved revision: 1122
Merged at revision: 1123
Proposed branch: lp:~tapaal-contributor/tapaal/dialog-always-on-top-1918912
Merge into: lp:tapaal
Diff against target: 18 lines (+2/-1)
1 file modified
src/dk/aau/cs/gui/smartDraw/SmartDrawDialog.java (+2/-1)
To merge this branch: bzr merge lp:~tapaal-contributor/tapaal/dialog-always-on-top-1918912
Reviewer Review Type Date Requested Status
Jiri Srba Approve
Review via email: mp+400569@code.launchpad.net

Commit message

Loading dialog for smart draw is not on top of other applications anymore

To post a comment you must log in.
Revision history for this message
Jiri Srba (srba) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/dk/aau/cs/gui/smartDraw/SmartDrawDialog.java'
--- src/dk/aau/cs/gui/smartDraw/SmartDrawDialog.java 2020-07-13 13:58:47 +0000
+++ src/dk/aau/cs/gui/smartDraw/SmartDrawDialog.java 2021-04-02 10:57:11 +0000
@@ -690,7 +690,6 @@
690 private void initLoadingFrame() {690 private void initLoadingFrame() {
691 loadingDialogFrame = new JDialog(CreateGui.getApp(), "Working...", true);691 loadingDialogFrame = new JDialog(CreateGui.getApp(), "Working...", true);
692 loadingDialogFrame.setLayout(new GridBagLayout());692 loadingDialogFrame.setLayout(new GridBagLayout());
693 loadingDialogFrame.setType(Window.Type.POPUP);
694 ImageIcon loadingGIF = ResourceManager.getIcon("ajax-loader.gif");693 ImageIcon loadingGIF = ResourceManager.getIcon("ajax-loader.gif");
695694
696 JLabel workingLabel = new JLabel("<html><div style='text-align: center;'>Currently doing layout...<br/>This may take several minutes depending on the size of the net...</div></html>", SwingConstants.CENTER);695 JLabel workingLabel = new JLabel("<html><div style='text-align: center;'>Currently doing layout...<br/>This may take several minutes depending on the size of the net...</div></html>", SwingConstants.CENTER);
@@ -763,6 +762,8 @@
763 loadingDialogFrame.setVisible(false);762 loadingDialogFrame.setVisible(false);
764 loadingDialogFrame.setLocationRelativeTo(CreateGui.getAppGui());763 loadingDialogFrame.setLocationRelativeTo(CreateGui.getAppGui());
765 loadingDialogFrame.pack();764 loadingDialogFrame.pack();
765 loadingDialogFrame.setAlwaysOnTop(false);
766 loadingDialogFrame.setAutoRequestFocus(false);
766 }767 }
767 768
768 769

Subscribers

People subscribed via source and target branches