How can i save a file with FileDialog?

hi,
i watched the forum but didn't find an answer to my problem. what i want is that after a klick on a button the FileDialog should appear. then i want choose a directory and enter the name for the new file.
then after clicking the ok button of the filedialog frame, i want to get the file name, which was entered, to create the new file and to store the data in it.
there must be a way, if not for what is the FileDialog good. ;-)
greets darkPsy

Use the FileDialog methods getFile() and getDirectory(). In the code I used, I just concatenated the directory and file and used that String as the file name for a FileReader.

Similar Messages

  • How can you save a file with CS4 so that it can be opened with CS3?

    I fave a file that I have sent someone, but they can't open it because they don't have CS4. How can I save a file, using CS4, so that the file can be opened with CS3?
    Thanx

    From the help file: http://help.adobe.com/en_US/Illustrator/14.0/WS714a382cdf7d304e7e07d0100196cbc5f-655fa.ht ml

  • In Pages how do I save a file with another name

    In Pages how do I save a file with another name?

    I don't know if there is a less cumbersome way to do this (I'm still pretty new to Lion) but This is what I do - since "Save As" seems to be gone with Lion.
    I create a duplicate document - then click the red button to close the document - and a dialog box pops up and asks if you want to save the changes - I change the name in there and then save the file under the new name.
    You can also save the copy to the desktop - get info - and then change the name if the finder window.
    I copied this from the Pages help area. These help instructions were created pre-Lion I'm sure.
    Saving a Copy of a Document
    If you want to make a copy of your document—to create a backup copy or multiple versions, for example—you can save the document using a different name or location. (You can also automate saving a backup version, as Automatically Saving a Backup Version of a Document describes.)
    To save a copy of a document: 
    Choose File > Save As and specify a name and location.
    The document with the new name remains open. To work with the previous version, choose File > Open Recent and choose the previous version from the submenu.

  • How can I export a file with transparent background?

    Hi all,
    I know InDesign doesn't allow to export a PNG file, but I need my file to be in image file format with transparent background.
    I'm still learning so I am stuck here. How can I export a file with transparent background?

    If you can't get the PNG file export to work, you can export a pdf and open it in Photoshop, from there you can save it as whatever you like.

  • Can't save any file with any name-InDesign CC

    can't save any file with any name-file DBTmp4376-863643269 is damaged (error code:0)
    InDesign CC, OS version 10.9.1
    I explored solutions to failure in background task alert which did not work. Been using adobe products since they came on the scene. Nothing like this. Please help.

    I'm using version 9.2.
    Yes, it started with a new file. Support gave me the solution to save it to my desktop which worked. When I put it back in the original folder and opened/save it would not save to that folder. Created a new folder and was able to open & save to the new folder. That seems to be a workable solution. How a folder can become corrupt is a bit scarey.
    In experimenting with solutions I received another error "failure in background task alert" and discovered CS5 problems with background task.
    However the solutions for CS5 did not work in my incidence.
    I sure would like to prevent this from happening again. If you have any insights please share them. Otherwise I will just accept the experience as another computer workaround and be thankful that I have it.
    Thanks for responding.

  • How can I print a file with mixed page orientation in windows 8.1?

    I have a win 7 and a win 8.1 computer.  I have a file which contains both landscape and portrait pages.  The file prints correctly with the mixed orientation from the win 7 pc, but will only print with either landscape or portrait on the win 8.1 pc. 
    I am using Adobe reader XI on the win 7 pc and adobe touch on the win 8.1 pc

    ส่งจาก จดหมายของ Windows
    จาก: Pat Willener
    ส่งเมื่อ: จ. 5 มกราคม 2558 6:15
    ถึง: thang dinhvan
    How can I print a file with mixed page orientation in windows 8.1?
    reply from Pat Willener in Adobe Reader Touch for Windows 8 - View the full discussion 
    I have a win 7 and a win 8.1 computer.  I have a file which contains both landscape and portrait pages.  The file prints correctly with the mixed orientation from the win 7 pc, but will only print with either landscape or portrait on the win 8.1 pc. 
    I am using Adobe reader XI on the win 7 pc and adobe touch on the win 8.1 pc
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7064031#7064031 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7064031#7064031
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Adobe Reader Touch for Windows 8 by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • There is no 'Save as' under the file menu.  How do I save a file with another name?

    Numbers help refers to the 'Save As' function in the File menu.  My version (latest) does not have a 'Save As' function.  How do I save a file with another name?

    Ross Millard wrote:
    Badunit. You have an original file and an edited file. Now you duplicate the edited file and save it with a different name. Now do you have to go and delete the changed file from which the duplicate had been made? And.... is the original still unchaned... still original?
    Ross,
    For the situation you describe, Apple has provided Duplicate and Revert. Use File > Duplicate to reach this menu:
    Regards,
    Jerry

  • How can I associat ".swf" files with flashlite 2.1

    How can I associate ".swf" files with flashlite 2.1? When I
    install flash lite 2.0,it can do ---- click .swf files system can
    autoly use flashlite to play.But now I install flashlite 2.1,it
    lost this ability return as "unknow files formate".
    Now,how can I reassociate ".swf" with flashlite 2.1?
    first: I must use flashlite 2.1.
    second:I must click .swf file directly.
    I know another way to open :open the player and then find the
    .swf,and open it. But ,unfortunately,I can not use this way to
    open.Now I will be looking for another way.

    unfortunately, the 2.1 developer edition you have installed
    has not overwritten the original version integrated into the
    symbian OS by the manufacturer. This means that the only way to
    open the 2.1 files is to open the 2.1 player from your apps menuu,
    and click on the swf file. You will only get direct access if the
    updated player is in a firmware update for you handset.
    Matt
    http://www.outside-media.co.uk/blog

  • How can I save controller assignments with a project?

    How can I save controller assignments with a project, so that I can use different controller assignments for the same synth in another project
    Let's say I am controlling a Logic instrument with MIDI and CC data sent from MaxMSP. I have created a composition and would now like to make another one, with new assignments of controllers, in a new project. Is it possible to save the first piece's c.a. with it's project, so that I can switch between projects and have the controller assignments switch accordingly? Is that something that's become possible in Logic X with Smart Control or another workaround?
    Thanks a lot for any hints!

    With standard instruments you can cable transformers before the objects translating incoming cc's to "fader" events.
    With the new plug-ins they've hacked into Logic (ultrabeat, sculpture) this isn't possible, so your stuck with the "controller assignments" window which to me seems to be aimed at dedicated control surfaces and autoloads. My experiences with the controller assignments window aren't good, as i've found it drops incoming messages quite often.
    Knowing how to do this(controller assignments per song) would give me a reason to open the controller assignments window again..Pretty useless to me otherwise.

  • How can I save a file in CS5 that has been created by a newer version?

    How can I save a file in CS5 that has been created by a newer version?

    Elaborate on what you are going to do.
    Provide details.

  • How can I save a page with all the links for offline reading

    how can I save a page with all the links for offline reading

    Maybe '''Pocket''' is what you want?
    [https://addons.mozilla.org/en-US/firefox/addon/read-it-later/?src=search Pocket (Mozilla Addons)]

  • How can I save a file in the server?

    Hello,
    I am writing a Java Web Start program that it will generate a html file, how can I save the generated file in the server, fro example, the directory where I stored my JAR files. Because right now, it will create the html file in the local client mahcine instead of the server. Can anyone tell me how can I do this? Thanks you.

    Yeah, thanks but that's not what I was trying to ask.
    I know that you can save and open a document by performing these three steps:
    1. Confirming to save a file to the Downloads folder
    2. Open the download manager by clicking the temporarily green arrow
    3. Clicking on the downloaded file
    What I would like to know is whether or not it is possible to have Firefox open a saved file ''automatically''. At the moment, if I choose to open it automatically, it is only saved to my temp folder.
    It would be great though if it was saved to my Downloads folder ''and'' opened with the respective program on my pc. Is there a way to do this?

  • [SOLVED]Can't save a file with tex extension using vim

    Hello there people,i decided to learn LATEX but vi won't let me save my files with the tex extension.It says:
    "test.tex" E212: Can't open file for writing
    Does anyone know why vim is denying to save it with this extension?Please help!
    Last edited by sepuku (2011-06-04 01:21:44)

    I just noticed that when i'm in /home/sepuku i'm able to save the files normally.But i created a directory specially for latex!
    So when i cd /home/sepuku/latexprojects i can't save anything.I think that this has something to do with the permissions maybe?And how to i make my user able to copy/paste/remove /edit/create files and dirs? :S
    ls -al test.tex returns:
    -rw-r--r-- 1 sepuku users 70 Jun 4 06:01 test.tex

  • How can I save a file from an email  on an iPad to upload to my web based ap

    I use my iPad in my business, I get emails sending me files that I then need to upload up to my Salesforce.com web based application. I can't see where I can either save the file to or pick the file up from ?  Is there a way to do this or is at an iPad limitation ?

    Hi,
    What is the mail app that you use to read emails on your iPad?  Is it Apple Mail?
    Would you take a look at the Mail section of the following FAQ document to see if it answers your question?
    How to open PDF documents in Adobe Reader for iOS (iPad on iOS 7 or 8 version)

  • How can I save a folder with pictures in it, on PC or MAC? (Not Camera Roll)

    Dear Apple Community,
    I want to save a Folder with pictures in it, that I created from the iPhone.. these photos (and videos) are available only in this folder and I don't want to loose them at all!
    Whatever, how can I save this folders on my mac? and/or PC? And I don't mean the camera roll folder! Just this folder that I created on the iPhone.
    Thanks in advance for you anwers!
    Best Regards,
    Luke

    Not supported by Apple. The only photos that can be imported from an iPhone are photos in the camera roll.

Maybe you are looking for

  • Downloaded desktop service, tried to connect and it asks for password. I havent set one up! please help

    i have just installed desktop software and tried to connect my blackberry for the first time. a prompt asked me for a password but i have not set one up. i have tried all usual passwords i would have used if i had already set one up and none of these

  • Autotype ant task and java source file having method which  returns hashmap

    Hi Friends, I am using autotype ant task to generate types.xml and supporting java classes. The task is defined as follows . <target name="std"> <source2wsdd javaSource="HelloWorld.java" typesInfo="types.xml" ddFile="ddfiles/web-services.xml" service

  • How to include jspx in a jspx??

    Hi All, I want to include jspx in another jspx, if i use the below syntax after the panelForm: <afh:rowLayout width="100%"> <jsp:include page="/jsps/admin/generalAdmin/editManProfAttr.jspx"/> </afh:rowLayout> It is throwing an below exception: javax.

  • STOP/Avoid spam messages!!

    Hi every body.. is there any way to eliminate the below mess!! Identity: EXCH\7733\3079491551732 Subject: Undeliverable: Hurry up and buy online cheap hot products Internet Message ID: <[email protected]> From Address: <> Status: Ready Size (KB): 16

  • BP Staffing data

    Hi, We have a requirement for fetching BP Allocation monthwise. We need this in report. We have already started development based on Function modules like BAPI_BUS2172* and BAPI_BUS2177* etc We are not getting any progress on that. Input     Business