Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML Schema to JFrame data entry form.

Status
Not open for further replies.

dbleyl

Programmer
Mar 26, 2001
117
US
Hello,

Does anyone know of/have a tool for generating a simple JFrame data entry form from an XML Schema?

I'm writing a simple prototype to create XML files from a data entry screen, and it seems natural that there should be a tool to generate a data entry from from an XML Schema.

TIA.
 
Not sure of any tools out there - I expect there are though...

However, its simple enough to do if you cannot find any :

Use an XML parser API (xerces, xalan etc) to create a DOM from your XML file.

Then create a JTree object from the DOM, and apply the appropriate textfields in Swing as you traverse the tree.
 
Thanks for the suggestion. I am really trying to avoid writing one, because I think there should be a library to do this out there. I haven't found it yet, but maybe a few things that look like they almost do it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top