0

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 name of the file, this is my problem?!?! Any ideas? Thanks

2
  • 2
    Am I misunderstanding the question or is this one of these questions google or the documentation could answer in less than a minute? Commented Aug 29, 2010 at 10:33
  • 1
    I think my question is a bit blur what i mean is when the user changes the property of that component they push a "set" button then the changes they have made should be saved in a file like i explained... Commented Aug 29, 2010 at 10:40

1 Answer 1

2

Use a JFileChooser (see the example in the javadoc)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.