{"action":"closed","issue":{"url":"https://api.github.com/repos/a4501150/seaglass/issues/110","labels_url":"https://api.github.com/repos/a4501150/seaglass/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/a4501150/seaglass/issues/110/comments","events_url":"https://api.github.com/repos/a4501150/seaglass/issues/110/events","html_url":"https://github.com/a4501150/seaglass/issues/110","id":63159024,"number":110,"title":"ClassCastException with Java 8 (later than 8.0_11)","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-20T04:22:30Z","updated_at":"2015-03-20T05:04:08Z","closed_at":"2015-03-20T05:04:08Z","body":"```\nWhat steps will reproduce the problem?\n1. Use the seaglass demo package.\n2. Run one of the demo, for instance TestButtons.java\n3. Hover one of the buttons in the title bar (Minimize, Maximize, Close) and \nwait for the toolTip to appear.\n4. The following Exception is thrown:\nException in thread \"AWT-EventQueue-0\" java.lang.ClassCastException: \njavax.swing.JButton cannot be cast to javax.swing.JToolTip\n\tat javax.swing.plaf.synth.SynthToolTipUI.paint(SynthToolTipUI.java:179)\n\tat javax.swing.plaf.synth.SynthToolTipUI.update(SynthToolTipUI.java:141)\n\tat javax.swing.JComponent.paintComponent(JComponent.java:777)\n\tat javax.swing.JComponent.paint(JComponent.java:1053)\n\tat javax.swing.JComponent.paintChildren(JComponent.java:886)\n\tat javax.swing.JComponent.paint(JComponent.java:1062)\n\tat javax.swing.JComponent.paintChildren(JComponent.java:886)\n\tat javax.swing.JComponent.paint(JComponent.java:1062)\n\tat javax.swing.JLayeredPane.paint(JLayeredPane.java:586)\n\tat javax.swing.JComponent.paintChildren(JComponent.java:886)\n\tat javax.swing.JComponent.paint(JComponent.java:1062)\n\tat javax.swing.JComponent.paintToOffscreen(JComponent.java:5223)\n\tat javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1572)\n\tat javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1495)\n\tat javax.swing.RepaintManager.paint(RepaintManager.java:1265)\n\tat javax.swing.JComponent._paintImmediately(JComponent.java:5171)\n\tat javax.swing.JComponent.paintImmediately(JComponent.java:4982)\n\tat javax.swing.RepaintManager$4.run(RepaintManager.java:824)\n\tat javax.swing.RepaintManager$4.run(RepaintManager.java:807)\n\tat java.security.AccessController.doPrivileged(Native Method)\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)\n\tat javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:807)\n\tat javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:782)\n\tat javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:731)\n\tat javax.swing.RepaintManager.access$1300(RepaintManager.java:64)\n\tat javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1720)\n\tat java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)\n\tat java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)\n\tat java.awt.EventQueue.access$400(EventQueue.java:97)\n\tat java.awt.EventQueue$3.run(EventQueue.java:697)\n\tat java.awt.EventQueue$3.run(EventQueue.java:691)\n\tat java.security.AccessController.doPrivileged(Native Method)\n\tat java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:714)\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)\n\tat java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)\n\tat java.awt.EventDispatchThread.run(EventDispatchThread.java:82)\n\n\nWhat is the expected output? What do you see instead?\nI should see the tooltip matching the button I'm hovering. Instead I get an \nException.\nThis problem is not limited to the title bar buttons. I get Exceptions all over \nthe place in my application for JScrollBar being cast as JMenuItem, RootPane \nhas JToolTip and many more. \n\nWhat version of the product are you using? On what operating system? What\nJRE version?\nTested on Windows 7 using jdk8.0_20 and jdk8.0_25. No problem with jdk8.0_11\n\nPlease provide any additional information below.\n\n```\n\nOriginal issue reported on code.google.com by `guillaum...@gmail.com` on 10 Nov 2014 at 6:33"}}