{"action":"opened","number":677,"pull_request":{"url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/pulls/677","id":45501729,"html_url":"https://github.com/UniversalMediaServer/UniversalMediaServer/pull/677","diff_url":"https://github.com/UniversalMediaServer/UniversalMediaServer/pull/677.diff","patch_url":"https://github.com/UniversalMediaServer/UniversalMediaServer/pull/677.patch","issue_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/issues/677","number":677,"state":"open","locked":false,"title":"Membarui","user":{"login":"skeptical","id":1594203,"avatar_url":"https://avatars.githubusercontent.com/u/1594203?v=3","gravatar_id":"","url":"https://api.github.com/users/skeptical","html_url":"https://github.com/skeptical","followers_url":"https://api.github.com/users/skeptical/followers","following_url":"https://api.github.com/users/skeptical/following{/other_user}","gists_url":"https://api.github.com/users/skeptical/gists{/gist_id}","starred_url":"https://api.github.com/users/skeptical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skeptical/subscriptions","organizations_url":"https://api.github.com/users/skeptical/orgs","repos_url":"https://api.github.com/users/skeptical/repos","events_url":"https://api.github.com/users/skeptical/events{/privacy}","received_events_url":"https://api.github.com/users/skeptical/received_events","type":"User","site_admin":false},"body":"This is a fix for #551 based on the observation that the error is easily reproduced by just calling [JProgressBar.updateUI()](http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/javax/swing/JProgressBar.java#JProgressBar.updateUI%28%29), at which point the ProgressBarUI is reset to whatever the active LAF's default happens to be.  The assumption is that an eventual invocation of ```updateUI()``` in real life causes the bug.\r\n\r\nTo reproduce the error in the current master add this (hacky-ish :-) 'updateUI' button below and press it  on the gui:\r\n```diff\r\ndiff --git a/src/main/java/net/pms/newgui/StatusTab.java b/src/main/java/net/pms/newgui/StatusTab.java\r\nindex 9dc1b19..e746b72 100644\r\n--- a/src/main/java/net/pms/newgui/StatusTab.java\r\n+++ b/src/main/java/net/pms/newgui/StatusTab.java\r\n@@ -263,6 +263,13 @@ public class StatusTab {\r\n \t\tmem.setForeground(fgColor);\r\n \t\tbuilder.add(memoryProgressBar, FormLayoutUtil.flip(cc.xyw(3, 9, 1), colSpec, orientation));\r\n \r\n+builder.add(new JButton(new AbstractAction(\"updateUI\") {\r\n+\t@Override\r\n+\tpublic void actionPerformed(ActionEvent e) {\r\n+\t\tmemoryProgressBar.updateUI();\r\n+\t}\r\n+}), FormLayoutUtil.flip(cc.xy(3, 7), colSpec, orientation));\r\n+\r\n \t\t// Bitrate\r\n \t\tString bitColSpec = \"left:pref, 3dlu, right:pref:grow\";\r\n \t\tPanelBuilder bitrateBuilder = new PanelBuilder(new FormLayout(bitColSpec, \"p, 1dlu, p, 1dlu, p\"));\r\n```\r\n","created_at":"2015-09-20T18:52:20Z","updated_at":"2015-09-20T18:52:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/pulls/677/commits","review_comments_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/pulls/677/comments","review_comment_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/issues/677/comments","statuses_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/statuses/c2e9f124f24b9b51f445cae03e812ea378c89553","head":{"label":"UniversalMediaServer:membarui","ref":"membarui","sha":"c2e9f124f24b9b51f445cae03e812ea378c89553","user":{"login":"UniversalMediaServer","id":1840565,"avatar_url":"https://avatars.githubusercontent.com/u/1840565?v=3","gravatar_id":"","url":"https://api.github.com/users/UniversalMediaServer","html_url":"https://github.com/UniversalMediaServer","followers_url":"https://api.github.com/users/UniversalMediaServer/followers","following_url":"https://api.github.com/users/UniversalMediaServer/following{/other_user}","gists_url":"https://api.github.com/users/UniversalMediaServer/gists{/gist_id}","starred_url":"https://api.github.com/users/UniversalMediaServer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UniversalMediaServer/subscriptions","organizations_url":"https://api.github.com/users/UniversalMediaServer/orgs","repos_url":"https://api.github.com/users/UniversalMediaServer/repos","events_url":"https://api.github.com/users/UniversalMediaServer/events{/privacy}","received_events_url":"https://api.github.com/users/UniversalMediaServer/received_events","type":"Organization","site_admin":false},"repo":{"id":4591214,"name":"UniversalMediaServer","full_name":"UniversalMediaServer/UniversalMediaServer","owner":{"login":"UniversalMediaServer","id":1840565,"avatar_url":"https://avatars.githubusercontent.com/u/1840565?v=3","gravatar_id":"","url":"https://api.github.com/users/UniversalMediaServer","html_url":"https://github.com/UniversalMediaServer","followers_url":"https://api.github.com/users/UniversalMediaServer/followers","following_url":"https://api.github.com/users/UniversalMediaServer/following{/other_user}","gists_url":"https://api.github.com/users/UniversalMediaServer/gists{/gist_id}","starred_url":"https://api.github.com/users/UniversalMediaServer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UniversalMediaServer/subscriptions","organizations_url":"https://api.github.com/users/UniversalMediaServer/orgs","repos_url":"https://api.github.com/users/UniversalMediaServer/repos","events_url":"https://api.github.com/users/UniversalMediaServer/events{/privacy}","received_events_url":"https://api.github.com/users/UniversalMediaServer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UniversalMediaServer/UniversalMediaServer","description":"A DLNA-compliant UPnP Media Server.","fork":false,"url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer","forks_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/forks","keys_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/teams","hooks_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/hooks","issue_events_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/issues/events{/number}","events_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/events","assignees_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/assignees{/user}","branches_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/branches{/branch}","tags_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/tags","blobs_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/statuses/{sha}","languages_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/languages","stargazers_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/stargazers","contributors_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/contributors","subscribers_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/subscribers","subscription_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/subscription","commits_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/contents/{+path}","compare_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/merges","archive_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/downloads","issues_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/issues{/number}","pulls_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/pulls{/number}","milestones_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/milestones{/number}","notifications_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/labels{/name}","releases_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/releases{/id}","created_at":"2012-06-07T22:23:22Z","updated_at":"2015-09-16T15:48:51Z","pushed_at":"2015-09-20T18:52:21Z","git_url":"git://github.com/UniversalMediaServer/UniversalMediaServer.git","ssh_url":"git@github.com:UniversalMediaServer/UniversalMediaServer.git","clone_url":"https://github.com/UniversalMediaServer/UniversalMediaServer.git","svn_url":"https://github.com/UniversalMediaServer/UniversalMediaServer","homepage":null,"size":66983,"stargazers_count":271,"watchers_count":271,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":114,"mirror_url":null,"open_issues_count":219,"forks":114,"open_issues":219,"watchers":271,"default_branch":"master"}},"base":{"label":"UniversalMediaServer:master","ref":"master","sha":"f5afcde612a1d281622e1321b6f2bec9e354bead","user":{"login":"UniversalMediaServer","id":1840565,"avatar_url":"https://avatars.githubusercontent.com/u/1840565?v=3","gravatar_id":"","url":"https://api.github.com/users/UniversalMediaServer","html_url":"https://github.com/UniversalMediaServer","followers_url":"https://api.github.com/users/UniversalMediaServer/followers","following_url":"https://api.github.com/users/UniversalMediaServer/following{/other_user}","gists_url":"https://api.github.com/users/UniversalMediaServer/gists{/gist_id}","starred_url":"https://api.github.com/users/UniversalMediaServer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UniversalMediaServer/subscriptions","organizations_url":"https://api.github.com/users/UniversalMediaServer/orgs","repos_url":"https://api.github.com/users/UniversalMediaServer/repos","events_url":"https://api.github.com/users/UniversalMediaServer/events{/privacy}","received_events_url":"https://api.github.com/users/UniversalMediaServer/received_events","type":"Organization","site_admin":false},"repo":{"id":4591214,"name":"UniversalMediaServer","full_name":"UniversalMediaServer/UniversalMediaServer","owner":{"login":"UniversalMediaServer","id":1840565,"avatar_url":"https://avatars.githubusercontent.com/u/1840565?v=3","gravatar_id":"","url":"https://api.github.com/users/UniversalMediaServer","html_url":"https://github.com/UniversalMediaServer","followers_url":"https://api.github.com/users/UniversalMediaServer/followers","following_url":"https://api.github.com/users/UniversalMediaServer/following{/other_user}","gists_url":"https://api.github.com/users/UniversalMediaServer/gists{/gist_id}","starred_url":"https://api.github.com/users/UniversalMediaServer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UniversalMediaServer/subscriptions","organizations_url":"https://api.github.com/users/UniversalMediaServer/orgs","repos_url":"https://api.github.com/users/UniversalMediaServer/repos","events_url":"https://api.github.com/users/UniversalMediaServer/events{/privacy}","received_events_url":"https://api.github.com/users/UniversalMediaServer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UniversalMediaServer/UniversalMediaServer","description":"A DLNA-compliant UPnP Media Server.","fork":false,"url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer","forks_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/forks","keys_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/teams","hooks_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/hooks","issue_events_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/issues/events{/number}","events_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/events","assignees_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/assignees{/user}","branches_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/branches{/branch}","tags_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/tags","blobs_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/statuses/{sha}","languages_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/languages","stargazers_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/stargazers","contributors_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/contributors","subscribers_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/subscribers","subscription_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/subscription","commits_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/contents/{+path}","compare_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/merges","archive_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/downloads","issues_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/issues{/number}","pulls_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/pulls{/number}","milestones_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/milestones{/number}","notifications_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/labels{/name}","releases_url":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/releases{/id}","created_at":"2012-06-07T22:23:22Z","updated_at":"2015-09-16T15:48:51Z","pushed_at":"2015-09-20T18:52:21Z","git_url":"git://github.com/UniversalMediaServer/UniversalMediaServer.git","ssh_url":"git@github.com:UniversalMediaServer/UniversalMediaServer.git","clone_url":"https://github.com/UniversalMediaServer/UniversalMediaServer.git","svn_url":"https://github.com/UniversalMediaServer/UniversalMediaServer","homepage":null,"size":66983,"stargazers_count":271,"watchers_count":271,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":114,"mirror_url":null,"open_issues_count":219,"forks":114,"open_issues":219,"watchers":271,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/pulls/677"},"html":{"href":"https://github.com/UniversalMediaServer/UniversalMediaServer/pull/677"},"issue":{"href":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/issues/677"},"comments":{"href":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/issues/677/comments"},"review_comments":{"href":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/pulls/677/comments"},"review_comment":{"href":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/pulls/677/commits"},"statuses":{"href":"https://api.github.com/repos/UniversalMediaServer/UniversalMediaServer/statuses/c2e9f124f24b9b51f445cae03e812ea378c89553"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":55,"deletions":31,"changed_files":2}}