pmfai25 / java-swing-ayatana

Automatically exported from code.google.com/p/java-swing-ayatana
0 stars 0 forks source link

java-swing-ayatana doesn't work with JDialogs #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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 8 years ago
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 8 years ago

Original comment by danjaredg on 5 Sep 2012 at 9:36

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/java-swing-ayatana/source/detail?r=144

Original comment by danjaredg on 6 Sep 2012 at 4:57