Applet that will browse for files!

I have used applications in the past where you want to open a file in that application, such as a word document in a word processor. Is there that sort of facility available to Java. Say that I write an applet that excepts text in a box and the text could be found on a text file on the user's hard drive. Is there code that would open a dialog box where the user could navigate to the appropriate text file? Any code, web resource or suggestions very gratefuly received. Thanks, Dave.

Addendum ;)
You can actually sign applets with you own certficate. This will let your applet get the autorization to access the file sistem. People using that applet will just have to trust that selfmade certificate, since it won't be officially trusted. It's kind of a workaround so to speak, but it lets you provide an applet with no restrictions. And for free, no fee.
There's a thread on this forum explaing step by step how to proceed to sign an applet using a self-signed certificate.
Applet vs Application: Deployment and version control are very easy and require little effort while redeploying a java appliation to a lot of people is a serious issue, unless you provide the required "update" functionality by yourself (code it ;(
Another option would be using Java Webstart, but there again you would probably have to sign the application to get the necessary functionality (Security Managager again.)
Patrick

Similar Messages

  • Applet Impersonating a browser for file upload

    Has anyone ever tried to make an applet talk to a servlet and upload a file (multipart encoded) to an appropriate servlet, if so, then I would like to learn how.
    Thanks.

    In Java Servlet Programming by Jason Hunter, published by O'Reilly, in Chapter 10 is a very good discussion and example of applet to servlet communication.
    ps: I am referencing the first edition of this book. I think there is a second edition available now.

  • Is there a update for Photoshop Elements 8 that will support raw files from a Canon T3i 600d?

    Is there a update for Photoshop Elements 8 that will support raw files from a Canon T3i 600d?

    You have two alternatives:
    (1) Upgrade to PSE 9,10 or 11. (2) Download and install the free Adobe DNG converter to convert your raw files to the Adobe universal Raw format and the files will open in all versions of PSE (keep your originals as backups and for use in the camera manufactures software)
    Windows download click here DNG Converter 7.3
    Mac download click here DNG Converter 7.3
    You can convert a whole folder of raw images in one click. See this quick video tutorial:
    You Tube click here for DNG Converter tutorial

  • Is it possible to write a as3 code that will search for particular file in the loacal disk

    Is it possible to write a as3 code that will search for particular file in the loacal disk

    Not for a web-based design

  • Snow Leopard Browse for file dialog bug in current Flash Player?

    We have noticed a possible bug in the Flash Player within Mac's latest OS version Snow Leopard.
    When a Browse for file dialog is initiated, upon returning to the browser. It's as if there is a layer above the flash app which stops interaction with the mouse. MouseOver events no longer take place and a click is require to remove this layer. If you move your mouse at all after the click this invisible layer returns limiting interaction.
    We have tested this with 2 macs running snow leopard and the latest Flash Player. And also verified it is not an issue on Mac OSX previous to Snow Leopard.
    It seems to effect only FF and Safari. Opera functions correctly.. Here is a video we created documenting the problem: http://www.conceptshare.com/flash_issue.mov
    We have not had any customers complain about this yet. But if it's infact a bug, it's just a matter of time.
    Any feedback would be appreciated.
    Thanks,
    Chris

    Hi Scott,
    Any workaround on this? I've tried numerous hacks to no avail. The only thing that works is to switch to another application and then switch back. When you say it fixed itself in safari would that be because of an update to safari or an update to the flash player? Also, have you tried the flash player beta on adobe labs? i think it is fixed in there but i don't believe users will update to a beta to fix this issue.

  • NVIDIA Tools now not working with PS CC, is there any other add-on besides NVIDIA that will open .DDS files in photoshop?

    I had no problems with CS6 PS, but since I upgraded to PS CC, NVIDIA Tools is now not working and crashes when I try to reinstall the plug-in into PS CC. I checked NVIDIA's forums and found ZIP from them about this problem. So I am asking in here, is there another plug-in that will open .DDS files in PS? I am using Windows 7 Ultimate x64 for the OS, and I know the PS CC is 32 bit. Until I can resolve this issue, I am unable to do repaints of PMDG aircraft for my VA. Any suggestions would be greatly appreciated.

    I had a similar issue but i solved it following the instructions explained here https://wiki.archlinux.org/index.php/Bu … l.2FNVIDIA.
    I also reccomend you to install the bbswitch package which disables NVIDIA discrete graphics card when isn't used.

  • 'Browse For File' icon not working in Dreamweaver CS4

    Hello All.
    Ever since upgrading my copy of Dreamweaver from version 8 to CS4, I seem to have accounted an annoying bug (?)
    If, for example, I want to change an image on a webpage, I would click the image in question on the screen and by using the Properties panel would select a new image by clicking the 'Browse For File' icon in the 'Source File Of Image' section of the panel.
    Then I would select the new image, hit 'OK' and the image would be changed.
    Now when I do this nothing happens - the original image remains and cannot be altered.
    I now have to manually type the link of the new image into the 'Source File Of Image' field, which is a pain.
    I have even disabled my firewall and anti-virus just in case these were somehow conflicting but still no change.
    Any ideas anyone please?
    Thanks,
    Jon
    Using Dreamweaver CS4 on Windows Vista Home Premium SP2

    If Dreamweaver is behaving in an odd way, it frequently means that there is a corrupt personal configuration folder.
    Close Dreamweaver, locate the personal configuration folder, and rename it.
    When you restart Dreamweaver, it should create a new configuration folder with all the program defaults.  
    For details of how to find the configuration folder, see this page in the Dreamweaver FAQ.
    Hope this solves your issue.

  • Is there something comparable to My Documents in Windows that will allow pdf files in Quickoffice to appear?

    I have an iPad 2. I need to send pdf files from Quickoffice to my school's copy center for duplication to distribute to my students. When I click on choose files at the SUNY's copy center, I am only able to access Camera Roll and Photo Stream. Is there something comparable to My Documents in Windows that will allow pdf files in Quickoffice to appear?

    Perhaps I am not clearly stating my problem. I always used my desktop or laptop to send files that were handouts to the copy center since I do not use a textbook for one English class. Both crashed within a two-day span so until I can get one fixed, I am hoping to use the iPad. I have all my files saved as PDF files in my email. I have added the Quickoffice app and transferred next week files from school email to Quickoffice. When I access SUNY's website to send my files to be copied and click on choose file, all that is there are photos. If there is not a central location in iOS, then how would I manually sync the files in Quickoffice to whatever is allowing the photo files to appear?

  • A script that will query for the last successful backup to tape across all protected datasources

    I've searched trying to locate an existing script for this and come up empty so far but essentially what I am trying to do is have a script I can run that will query for the latest backup to tape that succeeded for each data source across all of the protection
    groups then output that time/date for each to a file.
    I'm extremely new to scripting so I am unsure of how to go about getting started with this so any help would be greatly appreciated!

    this should work
    foreach ($DS in $DSList)
    $RP=$DS | Get-RecoveryPoint | where {$_.Location -eq "Media"} | Sort-Object -Property Backuptime -Descending | select -First 1 | select *
    $Tape=Get-DPMTape -DPMLibrary $Library | where {$_.ID -eq $Rp.RecoverySourceLocations.MediaMapList.MediaId}
    $obj = New-Object -TypeName PSObject
    $obj | Add-Member Noteproperty -Name DatasourceName -value $DS.Name
    $obj | Add-Member Noteproperty -Name Sourcecomputer -value $DS.Computer
    $obj | Add-Member Noteproperty -Name BackupTime -value $RP.BackupTime
    #$obj | Add-Member Noteproperty -Name Location -value $Tape.Location.tostring()
    #$obj | Add-Member Noteproperty -Name Medialabel -value $Tape.Medialabel
    #$obj | Add-Member Noteproperty -Name Barcode -value $Tape.Barcode.Value
    $Array+=$obj
    Seidl Michael | http://www.techguy.at | twitter.com/techguyat |
    facebook.com/techguyat |
    youtube.com/techguyat

  • How do I set up calendar events that will be for another time zone? My events shift once I travel

    How do I set up calendar events that will be for another time zone? My events shift once I travel. The same is true when I am traveling and in another time zone, how do I best set up my events so they are in the correct time slot upon my return?

    Basically, if your client does not have a Mac then don't use iWeb to create the site. iWeb is Mac only and if a client wishes to make alterations, then they need the domain file.
    If your client needs to update on a weekly basis, then why not consider using one of the online website creation packages where you can log in from any Mac or PC. This would be simpler and there are lots out there - Microsoft Office Live or Google or something like http://www.wix.com where you can create a site and use a domain name with it.
    Look at the alternatives before using iWeb.

  • How to make a program that will ask for a name the first time the program is used and if is not the first time will not ask the name?

    I want to make a program that will ask for the ID of the testing machine the first time the program is running, then will never ask for it. I'm using Labview 6.0

    Hi
    There are a Couple of methods you can use for this.
    Method 1 -
    You can create an ini file and save a boolean Key "First Instance" as True. Now In your Program you read this Key, If it is True then you can show your ID Dialog VI.If False do not run the VI. At the Conclusion of Id Dialog you can update this registry enrty to False. So In effect you have created One time Event. In fact you can save ID as another Config entry.
    The Drawback and advantage is that such an INI file can be edited by someone moderately knowledgeable about the Program
    Method 2
    Use Unitialized Shift Register in A while Loop. Please see LV2 style Globals entry under this forum. You can read and write to this Variable and it retains the Value it last had within it.
    You can read
    this Global the Very first time and say if it true you display your ID Vi. If False you dont. When you display your ID Vi you can Update your Global Like Before.
    If you need Example Let me Know.
    Good Luck
    Mache!!
    Good Luck!
    Mache

  • Can I still get CS5 trial - I have limited internet access and just want software on my pc - I am only running vista so that looks to be the latest that  will work for me

    Can I still get CS5 trial - I have limited internet access and just want software on my pc - I am only running vista so that looks to be the latest that  will work for me
    If so what url do I go to as I have been round in circles and always come back to CC
    Thanks

    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 |12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7.1| 5 | 4 | 3 | 2.7(win),2.7(mac)
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.window using the Lightroom 3 link to see those 'Important Instructions'.

  • Are there any digital/video frames that will play .mov files?

    are there any digital/video frames that will play .mov files?

    Hi
    Not understanding Your Question - I can only guess
    .mov - are no specific Video Format (Codec) it is a container (read folder) and can hold Codecs many program can use and NOT.
    QuickTime Player use to open many of them - try this and if it opens then Open Inspector [ cmd + I ] and read
    • Video Format (Codec): nnnnnnnnnn
    • Frame Rate: yyyyyyy
    What does they say
    When QT-Players don't open - I use VLC-Player (Google it and download for free). It use to take most of the Codecs.
    Yours - May be far out in the Blue - Bengt W

  • An app that will convert VOB files into individual episodes?

    Hello,
    So I have a DVD that I converted a bunch of TV shows onto using Visual Hub. The problem is I get 18 hours but it converts into VOB files.
    Is there an application that will convert VOB files into MP4 format but make them into individual episodes?
    S.

    spiralgirl wrote:
    AndreTheGeek,
    Thanks, I did try it but maybe I'm doing it wrong. Think what I want is impossible. I want to take a VOB file that has like 5 shows on it and want the output of that to be 5 individual mp4's so I can pick and choose what I want to go on my ipod.
    I think you must have done it wrong.
    For a start. forget about VOB files - there's no need to mess around with them if you use Handbrake. Simply put your DVD in the DVD drive of your Mac and tell Handbrake to use that DVD as the source - it will help you with the rest of the procedure.
    You will find that Handbrake interprets the information on the DVD as individual episodes (top of the page, choose the "title" drop-down menu), giving you the running time of each one. Just choose a particular episode, give it an output file name and add it to the queue. Then select the next episode and give that a different file name. When you've finished, simply run the queue and it will convert them all into the individual files you've specified.
    If you find an episode that appears to be longer than all the rest, this is usually the one that contains all the episodes for the 'play all episodes' feature on your DVD. Leave that one out of the queue.
    It's not always obvious which episode is which (as they aren't always stored in the correct order on the DVD) so you can just give each file an arbitrary name for now, then watch the resulting mp4 files and name them appropriately at that stage.
    There is also a guide to ripping TV Shows for your iPod on the Handbrake website (with pictures) if you find my description confusing.

  • I have an older Power Mac G5 Quad, and my video card just went out. I am trying to find a video card that will work for my Power Mac. I have duel screens but I can't seem to find the appropriate video card

    I have an older Power Mac G5 Quad, and my video card just went out. I am trying to find a video card that will work for my Power Mac. I have duel screens but I can't seem to find the appropriate video card. The serial number on my computer is: RM620603R6W. Apple won't help me because the computer is older than suggested. Please give me the exact video card that will work best for my computer.

    Hi Mike, make sure the card has Mac ROM, or is a PC card with Mac ROMs flashed to it...
    G5 PCIe options are listed here:
    http://www.jcsenterprises.com/Japamacs_Page/Blog/71BBF3EF-9713-4C53-8B80-26771F8 A4087.html

Maybe you are looking for