Is there a ready SWING "open/save as" dialog ?

Hello
In internet explorer, when you download a file, it usually opens a dialog that suggests two options: open the file right away, or save it to your file system (some other browsers such as Chrome saves by default).
This is not the usual "save as" or "open" dialogs but a combination of the two. I need such a dialog box in JAVA SWING. Is there a ready one that I can use or should I create it from scratch ?
Thanks
Guy

user13266377 wrote:
Is there a ready one that I can use or should I create it from scratch ?Unless they've made serious changes to Swing, there isn't such a high level component. But you can easily create one yourself, by putting some buttons in a JPanel, with one opening a JFileChooser.

Similar Messages

  • Edit open/save as dialog window

    is there a way to edit the Open/Save As dialog window shortcuts in DW/FW?
    Thanks
    GN

    Take a look at this:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_17216&sliceId=1
    Bryan Ashcraft (remove BRAIN to reply)
    Web Application Developer
    Wright Medical Technology, Inc.
    Macromedia Certified Dreamweaver Developer
    Adobe Community Expert (DW) ::
    http://www.adobe.com/communities/experts/
    "eliblow" <[email protected]> wrote in
    message
    news:fjkqvv$gig$[email protected]..
    >I would like to create open Save As dialog using
    ColdFusion. The user will
    >be
    > clicking a button and the dialog will pop up asking the
    user if he want to
    > save
    > the file. I know that it can be done using JavaScript,
    but I am not sure
    > how it
    > could be done with CF. any suggestions?
    >
    > Thank you in advance.
    >

  • Editing the folder links in DW,FW "Open/Save As" dialog box

    i found apps to change the folder links in the left column of my various Windows7 Open/Save As dialog box, but it doesn't affect those in DW,FW. is there a way to do this?
    thanks
    GN

    Take a look at this:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_17216&sliceId=1
    Bryan Ashcraft (remove BRAIN to reply)
    Web Application Developer
    Wright Medical Technology, Inc.
    Macromedia Certified Dreamweaver Developer
    Adobe Community Expert (DW) ::
    http://www.adobe.com/communities/experts/
    "eliblow" <[email protected]> wrote in
    message
    news:fjkqvv$gig$[email protected]..
    >I would like to create open Save As dialog using
    ColdFusion. The user will
    >be
    > clicking a button and the dialog will pop up asking the
    user if he want to
    > save
    > the file. I know that it can be done using JavaScript,
    but I am not sure
    > how it
    > could be done with CF. any suggestions?
    >
    > Thank you in advance.
    >

  • Blank page shown instead of Open/Save As dialog box-CSV file download in IE

    I am migrating an application hosted earlier on Oracle 9iAS (9.0.3.1 BP1) to OracleAS 10g (10.1.3) with Struts 1.2.9. While the below JSP code worked for the earlier s/w stack when accessed using IE 5.5 SP2 or above, a blank page is displayed with the new s/w stack. What I mean by "worked earlier" is this. A "Open/Save As" dialog box would appear. Trying to "Open" would open a new IE window launching MS Excel and displaying correct data. Trying to "Save As" would display correct filename and extension in the dialog box.
    <%@page autoFlush="false" contentType="application/x-filler"%>
    <%
    try
    String fileName = "ABC.CSV";
    String strData = "A,B,C";
    response.setContentLength(strData.length());
    response.setHeader("Content-Type","application/octet-stream");
    response.setHeader("Content-Disposition","inline;filename="+fileName);
    ServletOutputStream ouputStream = response.getOutputStream();
    ouputStream.write(strData.getBytes(), 0, strData.getBytes().length);
    ouputStream.flush();
    ouputStream.close();
    catch(Exception e)
    %>
    I tried some changes listed below:
    1. Deliberately introduced compilation errors in the JSP code.
    2. Changed contentType="application/x-filler" to various MIME types like application/x-download, application/vnd.ms-excel, removing it altogether.
    3. Commented out response.setHeader("Content-Type","application/octet-stream") and also tried other MIME types related to CSV/Excel.
    4. Changed Content-Disposition from inline to attachment.
    Each of the above resulted in an unacceptable behaviour compared with the earlier state:
    1. Blank page shown as if nothing was happening even in case of deliberate incorrect JSP syntax.
    2. Dialog box did show up with some combinations. But on trying to "Open" or "Save As", the dialog box shows up a second time. Then while trying to "Open", the contents get opened either inline or in MS Excel but with some additional garbage data like source file name.jsp etc. While trying to "Save As" the file name and extension take on the pattern <URL_Pattern>.htm where URL_Pattern would be "DOWNLOAD_ACTION.do".
    Some other information:
    1. This code works when accessed from desktop local container (Win 2000) but not when deployed on Unix env (HP-UX B.11.11.0109).
    2. Latest patchsets are installed for IE.
    3. The existing application is designed to work for ONLY IE 5.5 SP2 or above, so I haven't tried with other browsers. I have tried both IE 5.5 SP2 and 6.0 SP1.
    Any help in this regard will be highly appreciated.
    Thanks a lot for your valuable time..

    I have made it to work with the below changes:
    1. Changed the URL pattern for <filter-mapping> for *.jsp to /*.jsp
    2. Added <dispatcher>REQUEST</dispatcher> and <dispatcher>FORWARD</dispatcher>
    3. Everything else (code-wise) is as before.
    Because of these changes, the filter, wherein some headers are being added to the response, is being invoked appropriately now.
    Thanks for you time and suggestion though...

  • Open Save As Dialog Box

    I would like to create open Save As dialog using ColdFusion.
    The user will be clicking a button and the dialog will pop up
    asking the user if he want to save the file. I know that it can be
    done using JavaScript, but I am not sure how it could be done with
    CF. any suggestions?
    Thank you in advance.

    Take a look at this:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_17216&sliceId=1
    Bryan Ashcraft (remove BRAIN to reply)
    Web Application Developer
    Wright Medical Technology, Inc.
    Macromedia Certified Dreamweaver Developer
    Adobe Community Expert (DW) ::
    http://www.adobe.com/communities/experts/
    "eliblow" <[email protected]> wrote in
    message
    news:fjkqvv$gig$[email protected]..
    >I would like to create open Save As dialog using
    ColdFusion. The user will
    >be
    > clicking a button and the dialog will pop up asking the
    user if he want to
    > save
    > the file. I know that it can be done using JavaScript,
    but I am not sure
    > how it
    > could be done with CF. any suggestions?
    >
    > Thank you in advance.
    >

  • How do i disable the open/save image dialog box in firefox? I want to directly save the image file to the drive.

    How do i disable the open/save image dialog box in firefox? I want to directly save the image file to the drive without clicking on save option everytime when saving an image. I'm using firefox ver 35.0.1 for windows 7.

    Click on the Firefox menu. Then click "Options". Go to "Applications" tab. Search for jpg and png file type. You will find they have "Always ask" action attribute. Change it to "Save file".
    Hope it will work fine for you.

  • CS5.5/OS X 10.8: Open/Save As dialog box resizing

    Since I have been using CS5.5 Web Design Premium in Mountain Lion, I cannot get the programs to remember me resizing the Open and Save As dialog boxes.
    Each time I Open or Save As, the windows default to about 720 x 540, which is annoyingly small on a 1920 x 1200 screen. 
    In each programs' .plist file, located at /Users/(username)/Library/Preferences/, there are two keys:
    NSNavPanelExpandedSizeForOpenMode:GetFile
    NSNavPanelExpandedSizeForSaveMode:PutFile
    After trying to resize the windows, I  QuickLook these .plist files.  The values for these key-value pairs are
    1)  sporadically updated and subsequently ignored on program close/relaunch, or
    2)  not updated at all.
    Have noticed this problem in DW, FW, AI, and FL.  PS seems to be the only exception.
    Adobe products are the only programs on my Mac that exhibit this problem.
    Mac OS is up to date. (10.8.3 as of date of post)
    All aforementioned Adobe programs are up to date according to the Adobe Application Manager.
    The preferences folder and the specific .plist files contained therein are read/writeable by me, the administrator.
    Rebuilding the .plist file does not help.
    Rebuilding the Saved Application State folder for the program does not help.
    Other miscellaneous things (resizing Finder columns, showing/rehiding hidden files, maximizing/restoring the window) don't help either.
    Can any community members who have experienced this problem suggest any fixes?

    I think this is an OS X 10.8 thing rather than a CS5.5/OS X 10.8 thing – but I would really like a fix for this too, nnotnorth

  • Trying to Save (menu or cmd-s) a file always opens Save As dialog

    Hi,
    First post (hello forums) - any help would be much appreciated. Please be kind if this is a no-brainer for the gurus out there.
    I'm on a Mac G5, OSX 10.4 running CS3 - upgraded from PS7 about 3 weeks ago.
    All was humming along nicely until this morning. I opened a file I had been working on (without problem) yesterday, made a few edits, hit cmd-s, and the save As dialog popped up. Okay, no worries -- overwrite, and move on. Made a few more edits, cmd-s, and again the Save As dialog pops up. Cancelled that dialog and tried the save command from the menu -- same thing -- get the Save As dialog. Hmmm... Closed that file, created a fresh one, made some simple edits, and tried to Save -- again the Save As dialog opens.
    Not a huge deal - I can always overwrite, but save should just save a working file surely.
    I've scoured the interwebs looking for any ideas, but nothing.
    Again, any help would be much appreciated.

    Hey,
    Thanks for the speedy response. Its been .psd's so far, but I haven't tried any other file type. Edits have been anything really -- adding layers to new files, adding layers to existing layered files, adding shapes, adding text to a layer - just about any alteration that would normally 'un-grey' the save option in the menu.
    The 'Layers' and the 'Embed Color Profile' boxes are checked in the save As dialog.
    Thanx.

  • Photoshop CS6 Windows - Open\Save as dialog box

    Why in Photoshop & Illustrator CS6 "Open" and "Save as" dialog box style is from Windows XP?
    In AfterEffects, Audition and other is new dialog box style:
    Can Adobe add in "Preferences" - option with checkbox for users Windows 7/8
    who can use the new windows explorer with extended folder bar?
    That would be simplified and speeded up a lot of things.
    Or maybe I'm blind and not see this option

    Summary:
    ... because 100 years ago, people also had wooden wheels for cars.

  • Open Save File Dialog with Default Path

    Hi All,
    I want to open a "Save File Dialog " with some default path.
    Like when user run that script I want to open  a "Save As" dialog box with default path "/Volumes/<shared name>/<folder name>/.. ."
    I am using
    File.SaveDialog(prompt, filter);
    but it doesn't open to the location by default that I want to open.
    Thanks
    Harsh

    look at this thread to see if it helps
    http://forums.adobe.com/thread/1077267?tstart=0

  • Print Preview Opens "Save File" Dialog

    A week or so ago (possibly related to my install of Snow Leopard, not quite sure), when I hit Preview in a Print dialog, I'm taken to a "Save" dialog before Preview opens with the file for preview. Before it would save it to a temp location somewhere and just open it for me.
    Feels like the temp location it was writing to before is no longer available, but I'm not really sure where that is to check.
    Any suggestions?
    Cheers.
    Adam

    CMD+P on Safari or TextEdit brings up a print dialog box, clicking on PDF button (there's no preview button), reveals the drop down menu, wherein the first option is Open PDF in Preview. This might be a change from Leopard, but I'm not on it at the moment, so can't check. There is a Preview button if you're using MS Word '04 ('08 probably works the same) and it pops up in Preview.

  • Open/Save File Dialog Box comes up, then does not respond for a long time or not at all

    I will click a link for a download and the box will pop up saying
    "You have chosen to open "blahblah.blah.blah
    Which is a: blah file
    From: www.randomsite.com
    What should Firefox do with this file?
    Open with
    Save File"
    At this point other than being able to see the box, it is as though it doesn't exist. I can't click okay or cancel or choose what to do. Sometimes after a few minutes it will suddenly work, other times it will just remain until Firefox closes.

    You can also try to clean install the new version after deleting the [http://kb.mozillazine.org/Profile_folder Profile Folder] as well as the [http://kb.mozillazine.org/Installation_directory Installation Folder.] Please see [https://support.mozilla.org/en-US/kb/Backing%20up%20your%20information?s=backup&r=1&e=sph&as=s this] for backing up important info. The '''places.sqlite''' file stores the bookmarks and history, the '''key3.db''' + '''siqnons.sqlite''' files are needed to successfully restore the saved passwords etc.
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Files]
    [https://www.mozilla.org/en-US/firefox/new/ Firefox Latest]

  • Problem in opening Save file Dialog..

    Hi all,
    I have a table, i want to save the table data in in csv format.So my problem starts here that when i click on button to save table data a Save dialog should be displayed where i can select path and save file.
    So please make it possible ASAP.

    Is this a Java Studio Creator JSF table component related question? If you are you talking about saving the data from the table at design time or when you run the application and you want to save the table data from the table displayed in the browser?
    Please clarify.
    thanks,
    Sandip

  • I'm not able to resize the sidebar in the "Open/Save File" dialog.

    It's too wide as default setting.

    If the sidebar cannot be made narrower, you might make the entire file selector larger.

  • Customise columns in Open/Save dialog when in List View

    When opening or saving a file from an application while in list view, there is no "Date Modified" column that you could click to sort by. It seems to be gone and there is no way to configure the columns in this dialog. How to add or delete columns in the list view of open/save dialog?
    I seem to be able to change columns in Finder, but not in Open/Save file dialog.

    No. Column view will only sort by name. If you wanted to put a space before each folder name, then they will sort to the top. Sorting by Kind will put folders above files, but it will also put anything else except files at the top. If there are only folders, however, that would put them first in the sort list.

Maybe you are looking for

  • Adding Multiple Signatures before Saving

    Searching for answers regarding Adobe Live Cycle.  Taught myself how to use it the other day and I created the attached form.  These are the requests in regards to the digital signatures: ·        When applying digital signature it prompts for Save A

  • Mass Maintenance of freight rates

    Hi, How do I mass maintain the freight rates (TK 11, 12, 13) We presently have rates ( about 2000) from one carrier X -Y 01/01/2010 - 01/31/2039 I want to expire the rates by the end 02/27/2011 Is there any transaction for mass expiring of rates inst

  • Webservice publish

    Hi Experts, Could you please tell me, how to publish the webservices in PI 7.1 Service Registry? Thanks & Regards Sara

  • Nokia 6300 life battery....

    yeah, my brand new nokia 6300 is doing pretty bad. the life of the battery is quite short, just 2 days if I'm using it. any idea? cheers

  • Filter subtypes in distribution model

    Hi, we are using change pointers and the report RBDMIDOC to create Idoc HRMD_A from those change pointers, in order to send that data to an external payroll. We already filter some infotypes in the distribution model, but we want to filter some subty