{"action":"closed","issue":{"url":"https://api.github.com/repos/mzmine/mzmine2/issues/20","labels_url":"https://api.github.com/repos/mzmine/mzmine2/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/mzmine/mzmine2/issues/20/comments","events_url":"https://api.github.com/repos/mzmine/mzmine2/issues/20/events","html_url":"https://github.com/mzmine/mzmine2/issues/20","id":69095857,"number":20,"title":"Newly opened windows are not always shown in front of other windows","user":{"login":"dyrlund","id":10582167,"avatar_url":"https://avatars.githubusercontent.com/u/10582167?v=3","gravatar_id":"","url":"https://api.github.com/users/dyrlund","html_url":"https://github.com/dyrlund","followers_url":"https://api.github.com/users/dyrlund/followers","following_url":"https://api.github.com/users/dyrlund/following{/other_user}","gists_url":"https://api.github.com/users/dyrlund/gists{/gist_id}","starred_url":"https://api.github.com/users/dyrlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dyrlund/subscriptions","organizations_url":"https://api.github.com/users/dyrlund/orgs","repos_url":"https://api.github.com/users/dyrlund/repos","events_url":"https://api.github.com/users/dyrlund/events{/privacy}","received_events_url":"https://api.github.com/users/dyrlund/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mzmine/mzmine2/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mzmine/mzmine2/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mzmine/mzmine2/milestones/1","html_url":"https://github.com/mzmine/mzmine2/milestones/2.15","labels_url":"https://api.github.com/repos/mzmine/mzmine2/milestones/1/labels","id":1099651,"number":1,"title":"2.15","description":null,"creator":{"login":"dyrlund","id":10582167,"avatar_url":"https://avatars.githubusercontent.com/u/10582167?v=3","gravatar_id":"","url":"https://api.github.com/users/dyrlund","html_url":"https://github.com/dyrlund","followers_url":"https://api.github.com/users/dyrlund/followers","following_url":"https://api.github.com/users/dyrlund/following{/other_user}","gists_url":"https://api.github.com/users/dyrlund/gists{/gist_id}","starred_url":"https://api.github.com/users/dyrlund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dyrlund/subscriptions","organizations_url":"https://api.github.com/users/dyrlund/orgs","repos_url":"https://api.github.com/users/dyrlund/repos","events_url":"https://api.github.com/users/dyrlund/events{/privacy}","received_events_url":"https://api.github.com/users/dyrlund/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2015-05-07T06:31:42Z","updated_at":"2015-07-02T22:29:27Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-04-17T08:38:33Z","updated_at":"2015-07-02T22:29:27Z","closed_at":"2015-07-02T22:29:27Z","body":"XIC plots, peak list tables and parameter dialogs  (and possibly also other windows) are often hidden behind the main MZmine window - this seems to happen randomly.\r\n\r\nIf the call to **window.setVisible(true)** is postponed using a timer like the below then the window is shown correctly in front of the main window:\r\n```java\r\nTimer timer = new Timer();\r\ntimer.schedule(new TimerTask() { public void run() {window.setVisible(true); } }, 300);\r\n```\r\nThe issue has been seen on Windows 7 (32-bit) running java 1.7.0.75 (32-bit) and Windows 2008 R2 (64-bit) running java 1.8.0.31 (64-bit).\r\n\r\nThe issue occurs both when opening a new window using double click or the right click menu."}}