Java swing to xml


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Java swing to xml

  1. #1
    Join Date
    Mar 2005
    Posts
    2

    Unhappy Java swing to xml

    Hi anyone can help me? I am writing a java swing gui and wish to convert into xml. Does anyone knows how to do that. Appreciate your help?

  2. #2
    Join Date
    May 2004
    Location
    Durham, UK
    Posts
    174
    At a guess you are refering to the definition of a GUi in XML

    Have a look at the thinlet API on sourceforge

    http://thinlet.sourceforge.net/

    it allows you to define simple gui's using XML.

    If this isn't what you meant, you need to be a bit more specific about
    exactly what you want to convert into XML.
    Hope this helps
    Graham

    Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, and if they get mad, you are a mile away and you have their shoes ;-)

    http://www.grahamrobinsonsoftware.com

  3. #3
    Join Date
    Mar 2005
    Posts
    2
    Oh sorry for the confusion, I am developing a GUI online store application using Java Swing. After my boss is satisfied with the whole stuff, I need to convert the application into XML. Is that possible? If it is, then how should I do it? Thanks please advise.....really appreciate if anyone can help.

  4. #4
    Join Date
    May 2004
    Location
    Durham, UK
    Posts
    174
    Hi,

    you cannot convert an application into XML.

    XML is a data format like CSV or XLS and is used for data or config information, never application code

    You could convert the data which your application is using into XML, which could then be rendered using an application onto the screen.

    here is an XML tutorial which may help your understanding http://www.w3schools.com/xml/default.asp
    Last edited by JGRobinson; 03-31-2005 at 08:54 AM. Reason: Added Tutorial link
    Hope this helps
    Graham

    Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, and if they get mad, you are a mile away and you have their shoes ;-)

    http://www.grahamrobinsonsoftware.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center