Creating a JavaBean to work with XMLEncoder class from 1.4.1
0 posts in topic
Flat View  Flat View

Posted By:   Bob_Newlten
Posted On:   Tuesday, September 10, 2002 07:01 AM

I may be forgetting something, but I just can't make a class of my own that can be transformed in XML by XMLEncoder.

For example, I make a swing interface: my class extends JFrame. In my class there's a JPanel (mainPanel) that contains all the swing objects.
If I use XMLEncoder on my class, the xml document resulted is almost empty. However if I use it only on the mainPanel, my xml does contain all the objects in it.
What do I have to do to my class so that it works properly?
Thank you.

About | Sitemap | Contact