Save a java source code to a file
<p>sorry folks I should've elaborated more, this is my problem:</p>

<p>I have created a simple bean builder tool to allow users to add components like JLable or JButton or other components to a design palette and they can customize the properties of the added components as i have created the means to, now they want to save the source code of that to a file when they push a button and i want to prompt them for the name of the file, this is my problem?!?! Any ideas?
Thanks</p>
