import org.xml.sax.InputSource; import java.io.File; import javax.xml.parsers.ParserConfigurationException; import java.io.IOException; import org.xml.sax.SAXException; import javax.swing.JFrame; public class KneeboardApp { public KneeboardApp(InputSource kneeboardPath) throws ParserConfigurationException, IOException, SAXException { GUI kneeboardGUI = new GUI(kneeboardPath); kneeboardGUI.setSize(800,600); kneeboardGUI.setVisible(true); } public static void main(String[] args) throws ParserConfigurationException, IOException, SAXException { InputSource filePath; filePath = new InputSource("C:/AirWarrior/XMLDocs/KneeboardTabsIndex.xml"); new KneeboardApp(filePath); } }