Portfolio
XML Configuration Reader
Program Description
A software application written completely in Java using Netbeans Matisse. It's specificly designed with the ability to read xml configuration files which are local on your machine or remotely located on the server.
The remote access is with the use of telnet or vpn.
Features
- Can access local or remote xml configuration files
- File is displayed using a swing Jtree
- File chooser is filtered for xml files only
- Elements and attributes are visible in the display of the xml files
- Error screen to prompt user if remote access is denied
- Look and feel can be changed to windows or java
- Horizontal and vertical tool bars for the display
- .chm file used as a short manual for help
Code Snippet
public void initComponents() { setTitle("XML Reader"); setLayout(new BorderLayout()); setJMenuBar(menuBar); menuBar.add(fileMenu); fileMenu.setMnemonic('f'); fileMenu.add(fileAction); fileMenu.addSeparator(); fileMenu.add(exitAction); menuBar.add(helpMenu); helpMenu.setMnemonic('h'); helpMenu.add(aboutAction); displayPanel.setBackground(Color.white); displayPanel.setLayout(new BorderLayout()); add(displayPanel, BorderLayout.CENTER); pack(); setSize(500,500); setLocationRelativeTo(null); setVisible(true); } |
screenshots
« Back to the desktop applications