I have created a clipboard tool that will write text data from an XML file to your clip board. This serves as a good example of both how to read data from an XML file and also how to write text to a clipboard in windows using java. I did write this code awhile ago, and I used a few web pages to guide me in the right direction on how to do this. I use this tool with some simple batch scripts that run the following command: java.exe -jar <config file> <function name> I have attached a zipped copy of the Netbeans Project as well as a complied version of the project. To use this tool use the following command: java -jar I have also attached a sample config file which you will need to run this project. |