java-swing-ayatana doesn't work with JDialogs
GoogleCodeExporter opened this issue · 3 comments
GoogleCodeExporter commented
Hey, I wanted to use java-swing-ayatana cause it's cool, but the problem is:
altough it works perfectly with my JFrame, it doesn't work with JDialog :(
(cast problem). I even tried tryInstall((JDialog)(Window)myDialog) and there's
no problem at compiletime, but there's a problem at runtime...
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException:
myCoolJDialog cannot be cast to javax.swing.JFrame
I looked at project's source code and I don't see any barriers in refactoring
JFrame as tryInstall() argument to Window...
Regards :)
Original issue reported on code.google.com by m...@m4tx.pl
on 31 Aug 2012 at 4:26
GoogleCodeExporter commented
I will work with this feature... But I'm busy working to support any Java Swing
application. Soon, you won't need Java Ayatana library, I hope provide this
integration with a Ubuntu PPA.
Original comment by danjaredg
on 5 Sep 2012 at 9:35
GoogleCodeExporter commented
Original comment by danjaredg
on 5 Sep 2012 at 9:36
- Changed state: Accepted
GoogleCodeExporter commented
http://code.google.com/p/java-swing-ayatana/source/detail?r=144
Original comment by danjaredg
on 6 Sep 2012 at 4:57
- Changed state: Fixed