Desktop app - creating and destroying forms/frames dynamically.

Hi all,
I'm creating a small crypto app for the desktop using java.
I'm using JFrames (import javax.swing.JFrame) with Oracle JDeveloper 11g under Linux.
I want to have a "welcome" form/frame where users can choose their encryption method,
and then on choosing the method, I want to dynamically create the appropriate form for
the chosen encryption method and also destroy/free/dispose() of the welcome form.
When the user has finished their encrypting, they should close the frame/form (either by
clicking on the x at the top right - or using the Exit button or by any method) and the
welcome frame should be dynamically recreated and appear.
I've tried various things - btnEncode_actionPerformed(ActionEvent e) then
this.dispose() - and I've fiddled with this_windowClosed(WindowEvent e) and
dispose(), but nothing seems to work.
Even a workaround using setVisibl(true/false) would be acceptable at
this stage - this has been wrecking my head all day. It's very easy to do in Delphi!
TIA and rgs,
Paul...

What do you mean that "nothing seems to work"? What does it do instead?
Post a small piece of runnable code that demonstrates the problem, and we'll go from there.

Similar Messages

  • How are ePrint apps created and maintained?

    Just bougt a new small HP printer for my home office and discovered ePrint and apps support. And amazed, did not expect this technology in entry level small/home office type printers.
    And immediately new questions on what possibilities this opens up for printing applications
    What is required to create new apps?
    Is it possible to use this technology to add local office apps? I.e. to print site/office specific forms, trivial network interactions and maybe a bit more.
    Is subscription type apps supported/allowed, where the app is only available as part of a third party subscription package?
    A lot can be built around the email based ePrint service alone, but having ability to also do some simple interaction with the user at the printer would open for a wide range of new possible uses.

    Hi,
    Double post, please use:
        http://h30434.www3.hp.com/t5/Printer-All-in-One-Install-Setup/How-are-ePrint-apps-created-and-mainta...
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to create a MD form using dynamic page ?

    Rahul and Sharmila,
    You have answered several of my queries earlier and I am thankful for them.
    I have been trying to creating a MD form using dynamic page and I haven't fiqured it out. I need help. You both advised me on creating a simple form using dynamic page. The complexity changes drastically when I have to create a MD form. Has no body ever tried to create a MD form with dynamic page?
    I haven't heard from you anything either. I am stuck with this and I need help urgently. Would you kindly tell me if this is possible and how ? Otherwise, I will stop crying for help on this.
    Thanks for your kind attention.
    Mainak

    Hi,
    I have replied to this in the morning.
    Re: Oracle portal and JSR 168 compliance
    Hope it helps.
    Thanks,
    Sharmila

  • Creating and Binding View Objects dynamically : Oracle Jdeveloper 11g

    Hello,
    We are trying to create and bind view objects dynamically to adf data visualization components.
    The view object is a result of multiple tables.
    We are using Oracle JDeveloper 11g Technical Preview. ( can't upgrade to TP2 or TP3 now).
    We have found this : http://radio.weblogs.com/0118231/stories/2003/07/15/creatingUpdateableMultientityViewObjectDefinitionsDynamically.html on our search for the same.
    The sample application however, is in 10g , hence required migration.
    Also, it was a standalone application with the TestClient.java having a main() method.
    Our requirement is for Web Application; we use Adf+jsf .
    Guidance of any sort is very much appreciated.
    Thanks in advance.
    -Anil Golla

    Hi,
    there also exist a forum for JDeveloper 11: JDeveloper and OC4J 11g Technology Preview
    What you are trying todo is not trivial because you need to not only dynamically create the VO, you would also dynamically need to create the binding meta data for it (assuming you use ADF). Not sure if the API to modify the binding is public, so posting it on the JDeveloper 11 forum bears a glimpse of hope for an answer
    In JDeveloper 10.1.3 you can't do this
    Frank

  • Create and Distribute Forms in Acobat Standard

    Hi,
    A customer has asked if it is possible to Create and Distribute Forms in Acrobat X Standard, the same way as is possible
    in Acrobat X1 Pro as we are using?
    thanks
    Paul

    Yes it is. Here's a link to the Acrobat X Standard help file: http://help.adobe.com/en_US/acrobat/X/standard/using/index.html
    Specifically: http://help.adobe.com/en_US/acrobat/X/standard/using/WSB53E4545-865B-4e2e-9C87-C98847DE53A C.html

  • Which SDK can be used to "Create and manipulate forms"??

    The ability to "Create and manipulate forms" is listed twice (and inconsistently) in this table:
    http://www.adobe.com/devnet/pdf/library/
    (row 11 and row 17).
    One of the entries probably refers to AcroForms and the other to XFA forms?
    Can someone please clarify?
    TIA,
    -RFH

    Thanks, Bernd.
    I have a follow-up question. When I use Acrobat interactively, I can execute these commands:
    - "Recognize text using OCR"
    followed by:
    - "Run form field recognition"
    The commands above will create an AcroForm, correct? Is there any way to create an XFA form in a similar fashion?
    Last but not least: can the two commands above be performed under "remote control" (i.e., programmatically with the SDK API)?
    TIA,
    -RFH

  • Do you need to have Adobe Acrobat X or XI in order to use FormsCentral?  Can FormsCentral be used without Acrobat to create and modify forms?

    Do you need to have Adobe Acrobat X or XI in order to use FormsCentral?  Can FormsCentral be used without Acrobat to create and modify forms?

    Hi Joseph,
    Unfortunately, no. But Adobe does offer a free 30-day trial of Acrobat (absolutely no obligation). So, you could download the trial to fix up the form. For more information, see www.adobe.com/products/acrobat.html. Acrobat is also offered on a subscription basis.
    Sara

  • Does any one know how to Create MDI data form frame

    Has any one created MDI data form frame in JDev. Please tell me step-by-step procedure to create a MDI data form frame.
    Or any way to remove/add some menu item in BC4J default browser.
    Thanks
    null

    Hi jaya,
    What do you mean by creating URL for a word document?
    You can display all the files in ABAP by giving the location(u mean URL!).
    call function 'CALL_BROWSER'
            exporting
              url = 'http://www.sap.com'.
    or
    call function 'CALL_BROWSER'
            exporting
              url = 'c:/test.doc'.
    Rgds,
    Jothi.P
    *Reward pts if useful.

  • How to create and destroy dynamically an array

    How to create an array of container dynamically and destroy it. I have an array of container which is to be sorted by comparision, but in sorting out the elements i want to delete some of the elements based on comparision.I run a for loop based on the number of elements in the array to be sorted. So what i do is take the elements into another array which i want to create it dynamically and reassign the new array back to the old one after sorting and delete it.

    Hi kpraveen,
    Maybe this thread helps,
    http://forums.ni.com/ni/board/message?board.id=330&message.id=18421&query.id=288653#M18421
    Greetings
    Juergen
    =s=i=g=n=a=t=u=r=e= Click on the Kudos button (Gold Star) and see what happens =s=i=g=n=a=t=u=r=e=
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=

  • Creating data entry form/screen dynamically

    How does one create web application data entry form/screen dynamically? One part of screen will have the option to bring up forms so that users can create forms. DO i need any sort of markup language?
    Examples please.

    use javascript. use the buttons on one panel and forms on another panel.
    for buttons onclick events change the form "action" and send the hidden parameters you want.

  • Creative Cloud desktop app unresponsive and extension manager not downloading

    I uninstalled Acrobat pro from my computer so I could install the newer version and now my creative cloud app is stuck on spinning circle when I try to go to the applications. I can't uninstall the craetive cloud desk app to reinstall it as it says the applications on my computer wont allow it. Also,I have tried to download the new extension manager cc and it says downloading and nothing is happening. It isn't downloading. Any suggestions?

    Zfire45, Lets Quit Creative Cloud desktop app and follow Solution 2 mentioned under the below article.
    http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.h tml
    Re-launch CC desktop app and check if it works fine now.
    Let me know in case you still face the issue.
    Cheers!

  • How to create and run Forms?

    Hi!
    I have install WebLogic server and Oracle Forms. WebLogic is running...
    What must I do now to be able to create some simple form and run it?

    Oracle Forms Builder is in Oracle Developer Suite 10g ( http://www.oracle.com/technetwork/developer-tools/developer-suite/downloads/index.html --> first in the "What's included")?
    -----EDIT----
    Ok. Now I know Oracle Forms Builder is in "Portal, Forms, Reports and Discoverer" package available from http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-092893.html
    I have already install that. May one tell me the name of the Oracle Forms Builder executable? (on Linux)

  • Create and write form output to text file

    HI am pretty new to this and have a prob.
    I have 10 fields in my form submitting which i need to create and write the form field values into an xml fil..this file is further used for other read write transactions.
    Can somebody help creating and writing data into the text file with code (if u have it handy).
    Thanks for the help in anticipation

    File f = new File("/path/to/output.txt");
    BufferedWriter bw = new BufferedWriter(new FileWriter(f));
    String inputData = null;
    while(true){
      inputData = //whatever data you need
      bw.write(inputData);
    bw.flush();
    bw.close();
    f.close;
    // All this should be in a try{}catch(IOException ioe){}

  • Creative Desktop app disappeared and won't re-install

    Win 8.1. Creative Cloud desktop app has disappeared (not for the first time); have re-downloaded but won't re-install. Adobe error message : "Installer failed to initialize... please download Adobe Support Advisor to detect the problem". No link is given and I can't find a Adobe Support Advisor download.
    What to do?
    PS. Google found the Adobe Support Advisor download (waste of time using Adobe's menus, of course). Downloaded and installed but it reports "Inspection could not identify any issues". So back to square one, what to do?
    PJJ

    PJJ I would recommend reviewing your installation logs for the specific error message.  In specific you will want to review the PDApp.log file.  You can find details on how to locate and interpret the installation log files at Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html.  You are welcome to post any specific errors you discover to this discussion.

  • Hi, i purchased and downloaded the lr6 desktop app (update), and used my serial number from the email from adobe but it said it was only eligible for lr5. thanks, rich

    hi, i purchased and downloaded the lr6 desktop app (updating from lr5, paid 80. for the update), and used my serial number from the email from adobe sentbut it said it was only eligible for lr5. thanks, rich

    If you purchased an upgrade from LR5 to LR6 then after you enter your LR6 serial number, you will need to enter your LR5 serial number, unless LR6 finds LR5 on the computer.  This also assumes that you've purchased the perpetual license of both LR5 and LR6, not a cloud license for LR5 which doesn't use a serial number for licensing.  If entering a LR6 then LR5 serial number into LR6's serial-number area isn't working, then is there something special about the LR5 that would make it ineligible for an upgrade?

Maybe you are looking for

  • How do I mirror my mac air to my apple TV

    how do I mirror my mac air to my apple TV

  • One image for multiple Intel Macs

    I am trying to find some reference to creating one universal NetInstall image so that older Intel based portable Macs will work with newer portable Macs. In the past we've been using a 10.5 retail image and update it as Apple updates come out. Howeve

  • Default xml namespace = v hangs app

    This is probably due to my relative inexperience with Flex (using FlashBuilder 4.5 and Flex SDK 3.6) but I've got an app that is acting strangely and I'd like to find out what's wrong. Briefly, I'm trying to parse some XML (returned from a REST servi

  • Looking for a laptop that fits my needs

    Good day. My name is Dawid. I am in need of a new Acer laptop that will run multiple Adobe (software) programs smoothly.I am a web and graphic desinger. I have a TravelMate 7730 for nearly 5 years now. I had a look at a couple of Acer laptops but am

  • Top N analysis..

    .Don't plz send the links ... plz provide with sme solution ... ....Suppose ..i want to find TOP 3 earners of the Company so tht i can do .by using ..Inline vies....... ...My query is ..how to find ...the THIRD highest Earner of the Company ....... T