Saturday, 15 August 2015

java - From jar file to create an xml file -



java - From jar file to create an xml file -

i have made jar file in swing input form. in input form there "save" button. requirement when click on save button automatically generate .xml file. possible? if is, please provide me useful link.

i wonder if question can inquire on website, assuming valid question:

it possible, 1 of simplest solutions jaxb. may read documentation: https://jaxb.java.net/2.2.7/docs/ or simple example: http://www.mkyong.com/java/jaxb-hello-world-example/.

in nutshell: need annotated class , utilize jaxb marshaller convert object xml.

java xml swing

No comments:

Post a Comment