From: Frank W. Z. <fz...@om...> - 2008-11-25 15:11:33
|
I'd be guessing its the version of Java as you suggest. I know that the applet code hasn't changed one bit in recent versions, and I've personally never used the applet code myself so I'm entirely unfamiliar with it. So, given that there's been no change,and given that it worked to at least some degree previously, the version of Java strikes me as a pretty good guess. Frank -- Frank W. Zammetti Author of "Practical Dojo Projects" and "Practical DWR 2 Projects" and "Practical JavaScript, DOM Scripting and Ajax Projects" and "Practical Ajax Projects With Java Technology" (For info: apress.com/book/search?searchterm=zammetti&act=search) My "look ma, I have a blog too!" blog: zammetti.com/blog tony wrote: > Hi all, > now I have the applet working where I can write a report and save it I > have found a problem. When adding a parameter, formula or user column I > click on "Insert Parameter" then select "Field" and "New Parameter" > nothing happens, no popup at all. > the output from the java console is: > ---------------------------------------------------------------------- > Exception in thread "AWT-EventQueue-2" java.lang.ClassCastException: > javax.swing.SwingUtilities$SharedOwnerFrame cannot be cast to > javax.swing.JFrame > at jimm.datavision.gui.FieldPickerWin.rename(FieldPickerWin.java:435) > at > jimm.datavision.gui.FieldPickerWin.renameFormula(FieldPickerWin.java:509) > at > jimm.datavision.gui.FieldPickerWin.newFormula(FieldPickerWin.java:479) > at > jimm.datavision.gui.FieldPickerWin.actionPerformed(FieldPickerWin.java:625) > at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) > at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) > at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) > at javax.swing.DefaultButtonModel.setPressed(Unknown Source) > at javax.swing.AbstractButton.doClick(Unknown Source) > at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) > at > javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) > at java.awt.Component.processMouseEvent(Unknown Source) > at javax.swing.JComponent.processMouseEvent(Unknown Source) > at java.awt.Component.processEvent(Unknown Source) > at java.awt.Container.processEvent(Unknown Source) > at java.awt.Component.dispatchEventImpl(Unknown Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Component.dispatchEvent(Unknown Source) > at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) > at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) > at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Window.dispatchEventImpl(Unknown Source) > at java.awt.Component.dispatchEvent(Unknown Source) > at java.awt.EventQueue.dispatchEvent(Unknown Source) > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.run(Unknown Source) > ---------------------------------------------------------------------------- > > I am running the latest version of Sun JRE. > It gives the same result in IE(v7) and Firefox(v3.04) > > "cannot be cast to javax.swing.JFrame" > Does anyone know if anything has changed in the swing utils that might > cause this? > I know the applet is "alpha code" but was this bit working before? > Could this be related to the version of Java? > > Any ideas? > > Thanks > > Tony > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > DataVision-users mailing list > Dat...@li... > https://lists.sourceforge.net/lists/listinfo/datavision-users > > __________ Information from ESET Smart Security, version of virus signature database 3638 (20081125) __________ > > The message was checked by ESET Smart Security. > > http://www.eset.com > > > > |