{"action":"created","issue":{"url":"https://api.github.com/repos/mgarin/weblaf/issues/340","labels_url":"https://api.github.com/repos/mgarin/weblaf/issues/340/labels{/name}","comments_url":"https://api.github.com/repos/mgarin/weblaf/issues/340/comments","events_url":"https://api.github.com/repos/mgarin/weblaf/issues/340/events","html_url":"https://github.com/mgarin/weblaf/issues/340","id":115698473,"number":340,"title":"Lightweight transparent popups over Canvas painting issues","user":{"login":"mgarin","id":2361389,"avatar_url":"https://avatars.githubusercontent.com/u/2361389?v=3","gravatar_id":"","url":"https://api.github.com/users/mgarin","html_url":"https://github.com/mgarin","followers_url":"https://api.github.com/users/mgarin/followers","following_url":"https://api.github.com/users/mgarin/following{/other_user}","gists_url":"https://api.github.com/users/mgarin/gists{/gist_id}","starred_url":"https://api.github.com/users/mgarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgarin/subscriptions","organizations_url":"https://api.github.com/users/mgarin/orgs","repos_url":"https://api.github.com/users/mgarin/repos","events_url":"https://api.github.com/users/mgarin/events{/privacy}","received_events_url":"https://api.github.com/users/mgarin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mgarin/weblaf/labels/bug","name":"bug","color":"eb6420"},{"url":"https://api.github.com/repos/mgarin/weblaf/labels/confirmed","name":"confirmed","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"mgarin","id":2361389,"avatar_url":"https://avatars.githubusercontent.com/u/2361389?v=3","gravatar_id":"","url":"https://api.github.com/users/mgarin","html_url":"https://github.com/mgarin","followers_url":"https://api.github.com/users/mgarin/followers","following_url":"https://api.github.com/users/mgarin/following{/other_user}","gists_url":"https://api.github.com/users/mgarin/gists{/gist_id}","starred_url":"https://api.github.com/users/mgarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgarin/subscriptions","organizations_url":"https://api.github.com/users/mgarin/orgs","repos_url":"https://api.github.com/users/mgarin/repos","events_url":"https://api.github.com/users/mgarin/events{/privacy}","received_events_url":"https://api.github.com/users/mgarin/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mgarin/weblaf/milestones/15","html_url":"https://github.com/mgarin/weblaf/milestones/v1.30","labels_url":"https://api.github.com/repos/mgarin/weblaf/milestones/15/labels","id":807992,"number":15,"title":"v1.30","description":"Update v1.30 release","creator":{"login":"mgarin","id":2361389,"avatar_url":"https://avatars.githubusercontent.com/u/2361389?v=3","gravatar_id":"","url":"https://api.github.com/users/mgarin","html_url":"https://github.com/mgarin","followers_url":"https://api.github.com/users/mgarin/followers","following_url":"https://api.github.com/users/mgarin/following{/other_user}","gists_url":"https://api.github.com/users/mgarin/gists{/gist_id}","starred_url":"https://api.github.com/users/mgarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgarin/subscriptions","organizations_url":"https://api.github.com/users/mgarin/orgs","repos_url":"https://api.github.com/users/mgarin/repos","events_url":"https://api.github.com/users/mgarin/events{/privacy}","received_events_url":"https://api.github.com/users/mgarin/received_events","type":"User","site_admin":false},"open_issues":50,"closed_issues":1,"state":"open","created_at":"2014-09-30T09:41:07Z","updated_at":"2015-11-07T23:13:24Z","due_on":"2015-06-30T21:00:00Z","closed_at":null},"comments":7,"created_at":"2015-11-07T23:13:24Z","updated_at":"2015-11-12T10:26:08Z","closed_at":null,"body":"It is highly possible that this happens on any Canvas and Canvas-like elements.\r\nHere is an example screenshot of the issue:\r\n![Issue example](http://i.imgur.com/swpISvk.png)"},"comment":{"url":"https://api.github.com/repos/mgarin/weblaf/issues/comments/156061927","html_url":"https://github.com/mgarin/weblaf/issues/340#issuecomment-156061927","issue_url":"https://api.github.com/repos/mgarin/weblaf/issues/340","id":156061927,"user":{"login":"RobertBColton","id":3212801,"avatar_url":"https://avatars.githubusercontent.com/u/3212801?v=3","gravatar_id":"","url":"https://api.github.com/users/RobertBColton","html_url":"https://github.com/RobertBColton","followers_url":"https://api.github.com/users/RobertBColton/followers","following_url":"https://api.github.com/users/RobertBColton/following{/other_user}","gists_url":"https://api.github.com/users/RobertBColton/gists{/gist_id}","starred_url":"https://api.github.com/users/RobertBColton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobertBColton/subscriptions","organizations_url":"https://api.github.com/users/RobertBColton/orgs","repos_url":"https://api.github.com/users/RobertBColton/repos","events_url":"https://api.github.com/users/RobertBColton/events{/privacy}","received_events_url":"https://api.github.com/users/RobertBColton/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T10:26:08Z","updated_at":"2015-11-12T10:26:08Z","body":"@mgarin Yeah it looks like you are right, and it's not just with Windows. It seems to also be a problem with drawing to transparent bitmaps. From the following Stack Overflow it looks as though there is a fix in the JDK 8 pool for JavaFX applications.\r\nhttp://stackoverflow.com/questions/7992281/java2d-swing-rendering-a-component-with-text-anti-aliasing-to-a-bufferedimage\r\n\r\nTop posters suggestion is a possible work around, you could render/cache the text to the menu item's to a buffered image and then draw that instead. That's likely to end up pretty convoluted unless maybe you create string painting utilities (if you don't already have a replacement for SwingUtilites2) where you can just make it abstract."}}