开发者

Save a java source code to a file

开发者 https://www.devze.com 2023-01-14 02:29 出处:网络
sorry folks I should\'ve elaborated more, this is my problem: 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

sorry folks I should've elaborated more, this is my problem:

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 nam开发者_如何学Goe of the file, this is my problem?!?! Any ideas? Thanks


Use a JFileChooser (see the example in the javadoc)

0

精彩评论

暂无评论...
验证码 换一张
取 消