How does one open a JFrame from a JSP or servlet?

Hi,
I have a fairly complex Java app that includes a JFrame that I want to integrate into a Web app. Specifically, I want to enable the user to open a dialog window, which is in the form of a JFrame. Can this be done easily? TIA!
Bob
Edited by: FractalBob on Jan 4, 2010 7:48 PM

FractalBob wrote:
I like option 3, but I don't see how to implement it. For example, my app includes a JTree embedded in a JScrollPane, so the Web app needs to be able to register an event handler to detect selections on the tree. How is that done?Depends on your choice of web framework. JSF is extensible with richfaces which has a tree control among other controls.
GWT would allow you to write Swing like code complete with listeners e.t.c.
You should preview and compare a few of them before selecting one. This should be an easy exercise since you already know what the application needs are.

Similar Messages

  • How does one remove temporary files from Safari?  A friend logged on to her Facebook account using my iMac.  Now I can't remove her e-mail address from Facebook.  It was suggested to me that I try clearing temporary files from Safari but I can't find

    How does one remove temporary files from Safari?  A friend logged on to her Facebook account using my iMac running Mac OSX 10.7.5 and Safari 6.1.6.  Now I can't remove her e-mail address from my computer.  When I open Facebook her address shows in the user button.  I do not have a Facebook account.  It was suggested to me that I try clearing temporary files from Safari but I can't find anything that tells me how to do this.  Are temporary files the same as the cache?  It also was suggested that I try clearing Safari cache.  How do I do that?

    Check Safari/Preferences/Passwords to see if the Facebook account is there. If so, select it and remove it. If you are still having problems, Safari/Preferences/Advanced - enable the Develop menu, then go there and Empty Caches. Quit/reopen Safari and test. If that doesn't work, Safari/Reset Safari.

  • How does one upload a file from flex to a cfc

    How does one upload a file from flex to a cfc?   Can you do the file upload via remote object? I usually do uploads cia cfm but prefer the asnc capabilities of remote object calls.

    Hi,
    The issue here is myFile. For flex we need to pass this name as paramenter becuase it's not html form item like:
    <cfcomponent>
        <cffunction name="uploadFile" access="remote" output="false" returntype="void">
        <cfargument name="file" required="Yes" type="any">
            <cffile action="upload" filefield="#arguments.file#" destination="C:\temp\" nameconflict="makeunique">
        </cffunction>
    </cfcomponent>
    From flex I'm getting the file using fileReference like:
    private function browseAndUpload():void
                    fileReference = new FileReference();
                    fileReference.addEventListener(Event.SELECT,fileReference_Select);
                    fileReference.addEventListener(Event.CANCEL,fileReference_Cancel);
                    fileReference.browse();
                private function fileReference_Select(event:Event):void
                    fileReference.addEventListener(ProgressEvent.PROGRESS,fileReference_Progress);
                    fileReference.addEventListener(Event.COMPLETE,fileReference_Complete);
                    fileReference.addEventListener(IOErrorEvent.IO_ERROR,onLoadError);
                    //fileReference.upload(request);
                    fileName = fileReference.name;
                    myFile.htmlText = fileReference.name;
                    SM_RO.importNSA();
    filerReference have an upload method to upload the file but I can't use that becuase I need to process my upload with my cfc.
    I'm getting an error:
    Failed to import the file. The cffile action="upload" requires forms to use enctype="multipart/form-data". Please also make sure the file is not open.
    I can't find the way to setup the enctype becuase again i can have html form items in flex, or I can?
    Thanks
    Johnny

  • HT204053 How does one open an ICloud account? I do have a valid an Apple ID. Please Help

    How does one open an Icloud Account?

    You can only create iCloud account on an iOS device (iPhone, iPad or iPod Touch) running iOS 5 or higher, or on a Mac running OS X Lion (10.7.5) or higher.  You do this by going to Settings>iCloud (on an iOS device) or System Preferences>iCloud (on a Mac) and signing in with your Apple ID.
    Once you create your account you will then be able to sign into the account using the ID on your PC.

  • How does one email a video from iPhoto

    how does one email a video from iPhoto

    One doesn't.
    Simply, sharing video via email is not advisable.
    Many email services have an attachment limit of 20mb and some a limit of 10mb. As emails are sent through an array of relays, the effective limit is the smallest file size allowed on any of the relays.  That means that video is rarely suitable for emailing.
    Then there's the whole issue of Codecs and not all machines will have the codecs to play all videos. Plus, folks with slower connections can find it very inconvenient to download large video files.
    Finally, sharing video from iPhoto via email is not supported. All that gets you is the Movie thumbnail. If you feel you must share via email then you'll need to export the video first, and attach that. Use the File -> Export command and set the kind  to Original.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.
    Other than that your options include:
    Upload it to a sharing site like YouTube or Vimeo and email a link - these will allow the recipient to view the material online. That will avoid the codec issues mentioned, and the person can still download the video file if they wish.
    Upload it to sharing services like Dropbox or YouSendIt and email a link. This will require that they download the material to their machines to view.
    Regards
    TD

  • How does one cancel a purchase from apps store

    how does one cancel a purchase from the apps store?

    Purchases are considered final, but you can try the 'report a problem' link to contact iTunes Support and see if they will refund or credit you : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How does one get tech support from adobe?  is there an online "chat" service?

    How does one get tech support from adobe?  is there an online "chat" service?  There formerly was a telephone help service.  There is no phone number shown in "help.adobe.com"  Has phone support been eliminated as a cost-saving measure?

    There is finite help available via chat & phone
    http://www.adobe.com/support/download-install/supportinfo/
    Many problems can be solved here in the user-to-user forum. Feel free to avail yourself of this opportunity.

  • How does one update Subtemple value from Yes to No?

    Greetings! In the instructions of a published problem statement (Note ID: 808571.11) there is a line that says:
    "c) Check if the subtemplate is set to NO. Update it to NO if it is set to Yes."
    How does one update the Subtemplate value from Yes to No? In edit configuration, I do not see a Subtemplate value column.
    Many thanks in advance fr your suggestions.
    Tom

    With all due respect ... I do not see how one can change the Subtemplate value from Yes to No. When I query the offending Template, the Subtemplate column is not displayed in bold, indicating to me that it can not be updated. Clicking on Edit Configuration, doe not provide an ability to change the value either.
    As best I can determine, one needs to 1) query up the template
    2) download the rtf file(s)
    3) end date the template
    4) create a new template and then set the Subtemplate value to No.
    And the same steps appear to be required in order to add or update a template Description.
    Which raises the question, Why can this not be done by editing the configuration?

  • How does one down load pictures from a PC hard drive to an itouch 4th gen.

    How does one download pictures from a PC hard drive to a 4th generation itouch ?

    By following the instructions here:
    iPhone, iPad and iPod touch: Syncing photos via iTunes

  • How does one copy an xygraph from a refnum?

    Sorry, normally this is straight forward enough to push through on my own.
    Purpose:
    Pass Refnum of XY graph to subvi -->
    Subvi's purpose : PRINT XYGRAPH to file/pdf/bmp, manipulate xy graph further (change back ground color to optomize for printing, optomize xy graph size for printing, move legend), perform some simple analysis on the data (rms, pkp etc)
    Problem Statements: 
    1 When using a refnum, writing any changes to the refnums property value will also change the parent i.e. the subvi xygraph.  This is not desired, so an exact copy of the xygraph must be made.  HOW DO YOU DO THIS?
    2 When using a refnum for an xygraph, how does one retrieve the xy values?  If the property node for value is selected, a variant is produced.  (which after careful examination I was still not able to make heads or tales of this particular variant) 
    p.s. A refnum is used because the xygraph already has formatting applied to its legend, plots, axis, etc.  A refnum passed to a subvi is the only way I know to pass all formating etc for the graph.
    p.p.s. I understand that there is an invoke node that will export an image, it contains certain limitations (such as requiring the subvi be opened, since it works by similar rules to a printscrn) that make it un applicable to this problem.
    -Regards
    eximo
    UofL Bioengineering M.S.
    Neuronetrix
    "I had rather be right than be president" -Henry Clay
    Solved!
    Go to Solution.

    eximo wrote:
    Problem Statements: 
    1 When using a refnum, writing any changes to the refnums property value will also change the parent i.e. the subvi xygraph.
    I don't understand this statement. Does the subVI have a graph also? Obviously, if you make changes to properties via the refnum, then the graph it's pointing to will change.
    p.p.s. I understand that there is an invoke node that will export an image, it contains certain limitations (such as requiring the subvi be opened, since it works by similar rules to a printscrn) that make it un applicable to this problem.
    Again, I don't understand. Where's the graph? On the main VI, or the subVI? If it's on the main VI, why would this be an issue? Wouldn't the main VI window be open?

  • How does one open a technical support ticket?

    Everything keeps pointing me away from actually contacting a person or Verizon.   I've had them for 15 years, this may be the first technical issue I need to contact them about, making it hard.
    Here's what I want to say, and I don't have all day -- or maybe I do, since I surely cannot work with the IP changing all the time:
    I want to report a service problem.  I am traveling, and did not notice this problem last week – but it either started Friday, this weekend, or today (Monday) … I have a prepaid 4620L mifi which is the primary use device, but I am also seeing this same behavior on my phone.
    I am a network engineer, so I’ll explain the issue technically…   Initially my connection was stable in this location (multiple days), and has been in prior locations, but I started to notice a large number of reset connections (work VPN being one).  I noticed my TCP sessions were dropping, which prompted me to realize my public IP is changing quite often.  4 IP’s just in the last 30 minutes.  This doesn’t seem right – would explain the TCP sessions dropping, which wasn’t happening before (or much less frequently).  IF this is expected or normal (is it part of a CGN config?  I am not familiar with the workings of CGN), I am curious as to the change in frequency.  It’s causing problems, so I suspect there is an issue.
    IP’s I’ve gone through this hour:
    75.208.33.67
    75.208.114.224
    75.210.110.178
    75.210.6.76
    75.210.11.41

    I tried, been on the phone for hours.  Long story short, it wasn't helping.  My prepaid account is on a resellers account for the first 90 days, until I transfer it.  My contract phone is my only call method from this location, and in general, which was in issue with doing remote diagnostics and testing, etc.
    The other part is my voice service is spotty, it's very common to get dropped calls if I am talking for more than 15 minutes or so.  I'm just speculating, but literally - when the wind blows, I seem to have more issues in general.
    I'm thinking there is a tower issue, my WWAN logs clearly show I am constantly getting disconnected, but I reconnect right away.  My signal level is ok, not great, but good enough.
    Anyway, the real point of my post -- I really want a method to communicate and open a ticket / report my issue electronically. The voice thing just isn't working well in this case.  I had no luck with chat either, but the other challenge there was just getting to the right person -- all questions and methods tried to direct me away from a person, and then I even got to the wrong group , to sales twice.
    I am in zip code 93105.  The issue started on Friday 04/25 at about 7:20 PM PDT.... which, maybe only coincidentally, there was very high winds that night and into the next day, and today also.

  • How does one Create Bootable DVD from downloaded iso image in Windows?

    I have a completely empty system I want to load Solaris Express on. I have access to web on a Windows XP machine and have downloaded the Solaris iso image. Using WindowsXP facilities simply copies the iso image as an intact iso image file and resulting disc is not bootable. Windows knowledge base very conveniently says that what happened to me is what happens. No obvious referral to how to do it....
    A) So for a non-Windows savy person who does not want to become Windows savy (That is why I downloaded Solaris!) Where is a set of instructions on how to (inside Windows XP) "extract" an iso image to a CD / DVD disk so it will be bootable?
    B) It sure would be nice if Solaris were able to be loaded onto a USB Flash drive and booted at will from any USB computer. Just plug it in and boot. Has this been done?
    C) Getting a physical disk by snail mail from Sun is very slow for me.... (3 weeks and still watching the mail box...)

    A) So for a non-Windows savy person who does not want to become Windows savy (That is why I downloaded Solaris!) Where is a set > of instructions on how to (inside Windows XP) "extract" an iso image to a CD / DVD disk so it will be bootable?http://www.sun.com/software/solaris/download_instruction.xml
    You probably copied the .iso file as one single very large file onto media. Instead, you can use a utility such as Roxio DVD Creator or Nero (or freeware like cdrecord) , and select the option to burn an image that already exists. No special boot options are needed, because the ISO image already contains the boot information needed.
    B) It sure would be nice if Solaris were able to be loaded onto a USB Flash drive and booted at will from any USB computer. Just plug > it in and boot. Has this been done?With the Newboot project introduced into Solaris Express, I believe it is now possible. I'm not a USB expert, though, so cannot say for sure.
    C) Getting a physical disk by snail mail from Sun is very slow for me.... (3 weeks and still watching the mail box...)I can't comment on that.
    -- Alan

  • How does one remove all chrome from FF?

    Hi...
    By the subject i mean have just the browser window open with the content.
    1/ The header on the window where you have the FF logo and the "Adobe Forums: Post New Thread - Mozilla Firefox" plus the window minimizing, maximizing and closing buttons on the right are ok.
    2/ Status bar at bottom can remain or not.
    3/ But all stuff, inbetween, such as menus, icons, address bars, search bars, etc., we'd like to remove.
    Reason is, we're using FF as the interface for an application whose menus, screens, etc., will be html/css/javascript driven... at least initially. (If it's any help, the system is dedicated so the question of the user browsing the net does not arise.)
    Presume all the above can be done thru pop-up windows and javascript... but can it be done continuously over several links?
    Grateful for confirmation and pointers regarding the right source for the code...
    Thanks,
    JJ

    Nancy O. wrote:
    F11 key 
    Have a look at this article from A List Apart:
    http://www.alistapart.com/articles/popuplinks
    Thanks!
    And thanks again!!

  • How does one open something in a new window rather than a new tab, when browsing?

    I much prefer how this used to be before I upgraded to the latest iOS, in this sense.
    I do not like dealing with multiple tabs; there are times that a new window is just needed.
    I am assuming that it is possible to open new windows and I just haven't figured it out yet.
    Thanks for any and all help!

    Thank you for your comments.
    Truthfully, I am shocked that this is the case and even more so that people didn't put up such a stink that Apple had to reinstate the old option. If I had to pick only one, which doesn't seem reasonable at all, I would choose the separate windows of old as opposed to the tabs.
    Thanks again for your help; I was really hoping that I wouldn't be disappointed.

  • How does one  transfer the songs from a classic ipod to an account and back?

    I'm giving my sister my ipod classic because I got an ipod touch. We are trying to figure out how to put the music on ipod to her account. Any ideas?

    You want to transfer the music from your iPod to her iTunes library or her account?  If it's the latter (her Apple ID), then it's not possible as purchases made under one Apple ID are permanently attached to that ID.  
    If it's the former, see this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

Maybe you are looking for

  • ERROR in profit center group creation...

    hai...i want to UPLOAD ALL THE LIST OF PROFIT CENTER DETAILS INTO SAP USING BDC SESSION METHOD..for that purpose i tried to create profit center using  TCODE -KE51, but profit center group is not available in my system...i tried to create profit cent

  • Custom Duty is not getting inventorised

    Hi All I am doing MIGO for import PO. Custom Duty is not getting debited in stock account but it is posting into a separate line of Account key FR3. FR3 is maintained in pricing procedure for this condition tye JCDB for both Account key and accrual.

  • Movement type to which GL account

    Hi Which config/tcode to check on movement type assign to which GL account during physical Inventory physical & qty diff? Thank you.

  • ExecuteService(GET_DYNAMIC_URL) is not working

    Hi, I want to automatically start a download when a user is calling a service (template). I am using <$executeService("GET_DYNAMIC_URL")$> to make this work. But it isn't working. I don't receive an error. If I call the service in my browser by enter

  • Can I re-name bookmark folders and if so how?

    How can I re-name bookmark folders?