Define actions (button) in XML?!

S

snuffie_456

Hello,

I'm trying to describe a User Interface in XML. Purpose is to parse
this file with Xerces and then show it as an Java-user interface
(reason: portability).
The description of the interface, and the actions (mostly buttons),
have to take place in the xml-file.
My purpose is doing it all with pure XML (DOM) and Java... So, no
description of the actions etc. in Java, but all of that in XML. The
only thing the Java code does, is converting the XML-file (description
of lay-out and actions) to a Java Swing, working, user interface.
Can somebody help me with these actions? When a button is pressed, a
text from a textbox has the be read and shown in another textbox (or
even changed with the text in another textbox)...

Thanks a lot!
Tari
 
J

Jason Karns

You should take a look at SwiXML and SwiXAT:

http://www.swixml.org/

http://www.swixat.org/docs/

maybe SwixNG http://swixng.sourceforge.net/

nntp://news.cis.ohio-state.edu/comp.text.xml/<[email protected]>

Hello,

I'm trying to describe a User Interface in XML. Purpose is to parse
this file with Xerces and then show it as an Java-user interface
(reason: portability).
The description of the interface, and the actions (mostly buttons),
have to take place in the xml-file.
My purpose is doing it all with pure XML (DOM) and Java... So, no
description of the actions etc. in Java, but all of that in XML. The
only thing the Java code does, is converting the XML-file (description
of lay-out and actions) to a Java Swing, working, user interface.
Can somebody help me with these actions? When a button is pressed, a
text from a textbox has the be read and shown in another textbox (or
even changed with the text in another textbox)...

Thanks a lot!
Tari


[comp.text.xml]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,001
Messages
2,570,254
Members
46,850
Latest member
VMRKlaus8

Latest Threads

Top