[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML Query Error



On Sat, 26 Aug 2000, Marek Lugowski wrote:
> }From ozone-users-owner@ozone-db.org Fri Aug 25 13:11 CDT 2000
> ...
> }}From: Falko Braeutigam <falko@smb-tec.com>
> ...
> }}On Fri, 25 Aug 2000, Marek Lugowski wrote:
> }> 
> Is anyone foolish enough to serialize (and put into Ozone) Swing stuff?
> }> I discovered I can put in JTables, IconImages, JLabels and JButtons,
> }> and empty JDesktopPanes, but try putting in anything with a
> }> JInternalFrame and you get a complaint about .setLayout() being added
> }> to the JInternalFrame directly versus .getContentPane()
> }> 
> }> This happens when I do it in Ozone or serialize locally, so I isolated
> }> that much.  And it happens with trivial examples, too.
> }
> }If the objects are not Serializable, then there is no chance to get them into
> }ozone.
> 
> Class JInternalFrame
> 
> java.lang.Object
>   |
>   +--java.awt.Component
>         |
>         +--java.awt.Container
>               |
>               +--javax.swing.JComponent
>                     |
>                     +--javax.swing.JInternalFrame
> 
> All Implemented Interfaces: 
> 
>       Accessible, ImageObserver, MenuContainer, RootPaneContainer,
>       Serializable, WindowConstants
Ok, the class is Serializable. However, if you cannot serialize/restore them
into a simple stream (did I get this right?), then it doesn't work with ozone.


Falko
-- 
______________________________________________________________________
Falko Braeutigam                              mailto:falko@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com