You can install NASA ADC GUI or modify it to fit in your GUI in the following steps:
Get the NASA ADC dataset at http://xml.gsfc.nasa.gov/guides/
Download Xalan and Xerces at http://xml.apache.org and Swing at http://java.sun.com/products/jfc/
Add the jar files for Xalan, Xerces, Swing and Xpert in your classpath. A sample classpath looks like:
set classpath=.;C:\JBUILDER3\JAVA\LIB;C:\shin\xmlsystem\xalan_1_0_0\xerces.jar;C:\shin\XMLsystem\xerces-1_1_0\xerces.jar;C:\jbuilder3\myclasses\xpert.jar;C:\programfiles\swing-1.1\swing.jar;C:\shin\xmlsystem\xalan_1_0_0\xalan.jar; But, note that xalan\xerces.jar should precede xerces\xerces.jar. Otherwise, you may have trouble in running the XSLT processor.
You can modify Frame2.java to fit in your data with the following changes
at line 78 :
XSLTInputSource xslSource = new XSLTInputSource("C:\\shin\\xmlfiles\\nasa\\adc.xsl");
change the sample XSL file into your own XSL file
at line 349:
xr.initialize("\\shin\\xmlfiles\\nasa\\adcorg");,
change the sample nasa directory into the file (or directory) name where your XML data resides
Modifies jLabel7 to jLabel11 and jTextField1 to jTextField5 so that they represent some of elements in your data
at line 434:
void jButton2_actionPerformed(ActionEvent e);,
modify the function so that it can compose XPath query appropriately