Shame on me, i've already found the solution :X I just had to modify the config.ini file so that I can use javax.swing!
On 16 June 2010 14:04, Asier Aranbarri Beldarrain <[email protected]>wrote: > Hi everyone: > > I have a Java application which uses javax.swing for creating the JFrame, > JButtonGroups, etc... That is, a GUI. > > I tried to implement it as an independent OSGi bundle and everything seems > correct till.. it tries to use JFrame from javax.swing. > > The error it gives me is the next: > * > java.lang.ClassNotFoundException: javax.swing.JFrame* > > I have the "javax.swing" package as one of the imported packages on my > manifest file, but still nothing. I even tried to add manually rt.jar (which > has inside the javax.swing package), but nothing (I know, i know, that's not > the ideal solution but I tried aswell). > > I don't have any idea of why this error keeps going, so any help would be > appreciated. > > Thanks, > > Asier > > >
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
