{"action":"created","issue":{"url":"https://api.github.com/repos/mgarin/weblaf/issues/180","labels_url":"https://api.github.com/repos/mgarin/weblaf/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/mgarin/weblaf/issues/180/comments","events_url":"https://api.github.com/repos/mgarin/weblaf/issues/180/events","html_url":"https://github.com/mgarin/weblaf/issues/180","id":43026913,"number":180,"title":"Tooltips does not work on list elements","user":{"login":"Sorceror","id":944282,"avatar_url":"https://avatars.githubusercontent.com/u/944282?v=3","gravatar_id":"","url":"https://api.github.com/users/Sorceror","html_url":"https://github.com/Sorceror","followers_url":"https://api.github.com/users/Sorceror/followers","following_url":"https://api.github.com/users/Sorceror/following{/other_user}","gists_url":"https://api.github.com/users/Sorceror/gists{/gist_id}","starred_url":"https://api.github.com/users/Sorceror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sorceror/subscriptions","organizations_url":"https://api.github.com/users/Sorceror/orgs","repos_url":"https://api.github.com/users/Sorceror/repos","events_url":"https://api.github.com/users/Sorceror/events{/privacy}","received_events_url":"https://api.github.com/users/Sorceror/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mgarin/weblaf/labels/confirmed","name":"confirmed","color":"006b75"},{"url":"https://api.github.com/repos/mgarin/weblaf/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","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/14","html_url":"https://github.com/mgarin/weblaf/milestones/v1.29","labels_url":"https://api.github.com/repos/mgarin/weblaf/milestones/14/labels","id":807991,"number":14,"title":"v1.29","description":"**Update v1.29 release**\r\n- WebDockablePane component\r\n- WebDocumentPane improvements\r\n- NotificationManager improvements\r\n- Internal frame issues fixes\r\n- Various minor issue fixes\r\n\r\n**20 October 2014 update**\r\nDue to a descent amount of features/fixes still left to do I will delay this release by one more week. And I finally got some spare time to quickly implement/fix the stuff required for release, so the next date should be pretty accurate. Sorry for all the delays and remember that you can always get the pre-release version that contains all features/fixes marked solved in tracker from here: http://weblookandfeel.com/downloads/prerelease/","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":19,"closed_issues":29,"state":"open","created_at":"2014-09-30T09:40:40Z","updated_at":"2015-03-16T00:19:38Z","due_on":"2014-10-27T07:00:00Z","closed_at":null},"comments":12,"created_at":"2014-09-17T15:37:04Z","updated_at":"2015-03-16T12:49:46Z","closed_at":"2015-03-15T16:37:50Z","body":"If custom cell renderer is made for `List` component and tooltip is registered to cell element, tooltip is not shown (regular java basic `setTooltip()` method works).\r\nHere is SSCCE\r\n\r\n```java\r\npublic class ListTooltip {\r\n    public static void main(String[] args) {\r\n        JFrame frame = new JFrame(\"List tooltip test\");\r\n        frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);\r\n\r\n        WebList list = new WebList(new String[]{ \"Editable element 1\", \"Editable element 2\", \"Editable element 3\", \"Editable element 4\", \"Editable element 5\", \"Editable element 6\" });\r\n        list.setCellRenderer(new CustomCellRenderer<String>());\r\n        frame.getContentPane().add(list);\r\n\r\n        frame.pack();\r\n        frame.setVisible(true);\r\n    }\r\n\r\n    private static class CustomCellRenderer<E> implements ListCellRenderer<E> {\r\n        public WebListCellRenderer cellRenderer;\r\n\r\n        public CustomCellRenderer() {\r\n            cellRenderer = new WebListCellRenderer();\r\n        }\r\n\r\n        @Override\r\n        public Component getListCellRendererComponent(JList<? extends E> list, E value, int index, boolean isSelected, boolean cellHasFocus) {\r\n            WebLabel lbl = (WebLabel) cellRenderer.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);\r\n            // this works but looks ugly\r\n            // lbl.setToolTipText(\"Some tooltip test\");\r\n\r\n            // this does not work\r\n            TooltipManager.addTooltip(lbl, \"Some tooltip test\");\r\n            return lbl;\r\n        }\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/mgarin/weblaf/issues/comments/81636926","html_url":"https://github.com/mgarin/weblaf/issues/180#issuecomment-81636926","issue_url":"https://api.github.com/repos/mgarin/weblaf/issues/180","id":81636926,"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},"created_at":"2015-03-16T12:49:46Z","updated_at":"2015-03-16T12:49:46Z","body":"Will see what can be done with the next update :)"}}