• Post Reply Bookmark Topic Watch Topic
  • New Topic

what is the best way to write to an XML file from a swing form component  RSS feed

 
Ric Luper
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to write to an xml file (xstream) using data input via a swing textfield.

I have created the classes and the swing component and wrote some pseudo code for the addRecord() function which i want to write to the xml. Is this the best way of doing this, what have I missed. Sorry if this is too basic for this forum.

The code is below.













wordcard object

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!