How do I get a button to launch a new frame within a frame?

I'm very new to Java and am using Jdeveloper9i.
I am writing a stand alone application that has a frame with fields e.g. name, emailid etc and have provided a "Modify" button, which I want to call up another frame/panel with text fields to allow the user to make changes to name, emailid etc.
Can anyone point me in the right direction of some sample code that will do this?

I think you want something like this...
// Add an action listener to your button where ever you do your setup
myButton.addActionListener(new ActionListener() {
  public void actionPerformed(ActionEvent e) {
    buttonPressed();
// Then define the buttonPressed method() something like this
public void buttonPressed() {
  Frame newFrame = new Frame("Modify details");
  newFrame.setSize(100, 100);
  newFrame.setVisible(true);
  // now add the rest of your objects to your frame
}Rob.

Similar Messages

  • How can I get iTunes to not launch

    how to get itunes to not to automatically start
    Whenever I'm watching a video DVD, online TV/movie, and I change the volume with the control on the headset or Apple Remote then iTunes will launch.
    How can I get iTunes to not launch when I change volume?

    Krag wrote:
    iTunes is not running ... everything is updated.
    Conflicting info in your profile:  Please update/correct your profile so that you can receive the correct troubleshooting suggestions.  This will assist the users in trying to help you.  Thank you.
    iTunes just launches by itself when I use the Apple Remote or volume buttons on headset/earbuds.
    Will have HOST transfer your post to the iTunes forum.

  • How do I get a button in Flash point to a https page of PagSeguro.

    How do I get a button in Flash point to a https page of PagSeguro. Programming they provide is this:
    <!-- INICIO FORMULARIO BOTAO PAGSEGURO -->
    <form target="pagseguro" action="https://pagseguro.uol.com.br/checkout/v2/cart.html?action=add" method="post">
    <!-- NÃO EDITE OS COMANDOS DAS LINHAS ABAIXO -->
    <input type="hidden" name="itemCode" value="AC0DD53E5757C9F774629F9937513499" />
    <input type="image" src="https://p.simg.uol.com.br/out/pagseguro/i/botoes/pagamentos/120x53-comprar.gif" name="submit" alt="Pague com PagSeguro - é rápido, grátis e seguro!" />
    </form>
    <!-- FINAL FORMULARIO BOTAO PAGSEGURO -->
    If I past this programation in start HTML, I see border white in my page.
    I wrote a book and this schedule is to send to a secure site for sale
    I development my site in Flash 4 and now CC6. Export in Html
    www.escalasdecores.com.br

    Excuse me for my ignorance.
    I put the schedule as show below and generates an error when I export
    Scene 1, Layer 'Actions', Frame 350, Line 119, column 11 in 1061: Calling a possibly undefined method send through a reference with static type flash.net: URLLoader.
    Which is in line urlLoader.send (urlRequest);
    I used Snippets
    This programation:
    /* Evento de clique de mouse
    Clicar na instância do símbolo especificada executa uma função na qual você pode acrescentar seu próprio código personalizado.
    Instruções:
    1. Acrescente seu código personalizado em uma nova linha depois da linha que diz "//Iniciar seu código personalizado" abaixo.
    O código será executado quando se clica na instância do símbolo.
    button_7.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
    function fl_MouseClickHandler(event:MouseEvent):void
              // Iniciar seu código personalizado
              var urlLoader:URLLoader=new URLLoader();
    var urlRequest:URLRequest=new URLRequest("https://pagseguro.uol.com.br/checkout/v2/cart.html?action=add");
    var urlVariables:URLVariables=new URLVariables();
    urlVariables.itemCode="AC0DD53E5757C9F774629F9937513499";
    urlRequest.data=urlVariables;
    urlRequest.method=URLRequestMethod.POST
    urlLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
    urlLoader.send(urlRequest);
              // Este exemplo exibe as palavras "Mouse clicado" no painel Saída.
              trace("Mouse clicado")
              // Encerrar seu código personalizado

  • I have a Mac Air. I use the mail application all the time.. The red, yellow, and green buttons disappeared at the top of screen... now i have to force quit mail.. how do it get the buttons back?

    I have a Mac Air. I use the mail application al the time. THe red, yellow, and green buttons disappeard. i have to force-quit now to close mail.. How do i get the buttons back? thanks.

    Mail window may be in the Full Screen mode.
    Move the mouse pointer to the top right corner of the Mail window and hold it there.
    Menu bar should drop down and click the blue double arrow icon.
    Full Screen toggle shortcut:  control + command + F

  • How can i get Radio buttons  and parameters  in a Single Straight Line

    Hi Experts,
    How can i get Radio buttons  and parameters  in a Single Straight Line...
    Example:
       r1 r2 p1 p2.....
    Cheers,
    Priya
    Points granted.

    Write the following code for the selection screen:
    DECLARATION OF PARAMETERS.
    SELECTION-SCREEN: BEGIN OF BLOCK select WITH FRAME TITLE text-001,
                      BEGIN OF LINE.
                      SELECTION-SCREEN COMMENT 1(10) FOR FIELD p_detail.
                      PARAMETERS p_detail RADIOBUTTON GROUP r1 DEFAULT 'X'.
                      SELECTION-SCREEN COMMENT 25(10)  FOR FIELD p_summry.
                      PARAMETERS p_summry RADIOBUTTON GROUP r1.
    SELECTION-SCREEN: END OF LINE,
                      END OF BLOCK select.
    this will solve your poblem surly. reward the points if you find helpful
    Regards,
    Siddarth

  • How do I get home button iPod touch 4G working again

    How do I get home button iPod touch 4G working again. Test link send by apple support does not work.

    Try:
    http://snapguide.com/guides/calibrate-your-home-button/?utm_expid=69945963-15
    fix for Home button
    iPhone Home Button Not Working or Unresponsive? Try This Fix
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    You can do it an an Apple store by:
    Apple Retail Store - Genius Bar
    or sent it in to Apple. See:
    Apple - Support - iPod - Service FAQ
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • Recently added     button accidently deleted How do I get this button back?

    'Recently added' button accidently deleted How do I get this button back?
    I can not find where my tracks off a cd are
    on my imac with out this button or
    icon on the left hand side of itunes.
    HELP I am technically challenged but
    relatively intelligent musician!

    catcowkitty wrote:
    'Recently added' button
    that button is actually a *smart playlist* which you can create yourself quite easily.
    in iTunes, choose +new smart playlist+ from the file menu and recreate the following rules:
    the screenshot is from my original recently added playlist.
    JGG

  • How can I get the button to respond on the bottom of my phone?

    How can I get the button to respond on the bottom of my phone?

    I don't understand.   Could you explain a little better. 
    Thanks. 

  • How can i get FIND button and hotmail to the toolbar, and how do i update firefox i dont want to update automatically

    how can i get FIND button and hotmail button to the toolbar, and how do i update firefox i dont want to update automatically

    Thanx 4 your "you're welcome" cor-el. It's now 4p.m. E.S.T. in Melbourne, Victoria, Australia on Thu. 29/9/2011 and my page tells me u sent this message 21Hrs. ago. To elaborate a bit on my prev. message: I soon realized that after R clicking in the 'Downloads' screen and then on the 2nd. in the drop down menu I could click and drag and drop the icon of the wanted download into the open file or memory device as required. I would take up the offer I see in this e-mail to participate in helping like you and others do but I won't as I feel I'm not experienced enough yet. Nevertheless u keep up the good work. Yours, james1.51.
    P.S. I used Google Chrome for this not Mozilla but it's still me!

  • How do I get fios to work with my new desktop w/ Windows Media Center

    Can someone please help me I have "fios".TV and internet 1HDSTB + 1HDDVR with multi room dvr Home media mgr.how do I get fios to work with my new desktop HP Pavillion m9715f**(specs below)**w/ Windows Media Center or did I just throw away my money?
    also equipted is 47" Samsung 850series 1080p 120hertz HD LCD TV + 36" Samsung 560series 1080p 60hertz HD LCD TV and 19"Samsung 950b LCD Monitor
    ** computer specs**
    Product number NZ017AA
    Introduction date 30-Jun-2009
    Country/region sold in: United States,Canada
    Hardware Base processor
    Phenom-9650 (A) 2.3 GHz (95W) 3600 MHz HyperTransport 3.0 Socket, AM2+
    Chipset AMD 780G
    Motherboard Manufacturer: MSI Motherboard Name: MS-7548 HP/Compaq motherboard name: Aspen-GL8E
    Power supply 300W
    Memory
    Component Attributes Memory Installed 8 GB Maximum allowed 16 GB (4 x 4 GB) (64-bit OS)
    4 GB* (4 x 1 GB) (32-bit OS)
    *Actual available memory may be less Speed supported PC2-6400 MB/sec Type 240 pin, DDR2
    Hard drive750 GB SATA 3G (3.0 Gb/sec)7200 rpm
    Blu-ray player & SuperMulti DVD burner with LightScribe Technology drive
    This Blu-Ray Disc DVD drive introduces a player that reads Blu-ray Disc format enabling you to watch high-definition Blu-ray Disc movies. NOTE: This drive does not include high-definition write capability.
    Formats/Disc types Write speeds Read speeds Storage capacity Blu-ray Disc BD-ROM SL NA up to 6X up to 25 GB BD-ROM DL NA up to 4.8X up to 50 GB BD-R SL not supported up to 6X up to 25 GB BD-R DL not supported up to 4.8X up to 50 GB BD-RE SL not supported up to 2.3X up to 25 GB BD-RE DL not supported up to 2X up to 50 GB HD DVD not supported DVD DVD-ROM SL NA up to 16X up to 4.7 GB DVD-ROM DL NA up to 8X up to 8.5 GB DVD+R SL up to 16X up to 12X up to 4.7 GB DVD+R DL up to 4X up to 8X up to 8.5 GB DVD+RW SL up to 8X up to 10X up to 4.7 GB DVD+RW DL not supported DVD-R SL up to 16X up to 12X up to 4.7 GB DVD-R DL up to 4X up to 8X up to 8.5 GB DVD-RW SL up to 6X up to 10X up to 4.7 GB DVD-RW DL not supported DVD-RAM up to 5X up to 5X up to 4.7 GB CD CDROM NA up to 40X up to 700 MB CDR up to 40X up to 40X up to 700 MB CDRW up to 24X up to 40X up to 700 MB CD-DA NA up to 32X up to 700 MB Video CD NA up to 10X up to 700 MB
    Wireless Wireless LAN 802.11 b/g
    Video Graphics Radeon HD4350
    512 MB DDR2 memory
    I/O Ports: HDMI, VGA, single-link DVI
    Television Hauppauge ATSC/NTSC TV tuner card with FM tuner
    Sound/Audio High Definition 8-channel audio
    ALC 888S chipset
    Network (LAN) Integrated 10/100/1000 Base-T networking interface
    Memory card reader
    Contains an Infrared receiver for remote control
    Supports the following cards:
    Compact Flash I
    Compact Flash II
    IBM Microdrive
    Secure Digital (SD)
    mini-SD
    MultiMediaCard (MMC)
    Reduced size MultiMediaCard (RS-MMC)
    MultiMediaCard Plus (MMC plus)
    MultiMediaCard Mobile (MMC mobile)
    Memory Stick
    Memory Stick Pro
    Memory Stick Duo
    Memory Stick Pro Duo
    SmartMedia
    xD Picture Card (xD = extreme digital)
    External I/O ports
    I/O ports on the front panel
    Port type Quantity 15-in-1 (4 slot) with IR Receiver One USB Two Headphone One Microphone One Audio L-R One S-video in One Composite video in One
    I/O ports on the back panel
    Port type Quantity PS/2 (keyboard, mouse) Two S/PDIF out (coaxial) One VGA One (disabled due to the installation of a graphics card) DVI-D One USB Four 1394a One LAN One Audio (side speaker out, rear speaker out, center/subwoofer-out , line-in, line-out, microphone) One Each
    Expansion slots
    Slot type Quantity PCI Express x16 One (None available) PCI Express x1 Three (Two available)
    Drive bays
    Bay type Quantity 5.25" Two (One available) 3.5" Two (One available) Personal Media Drive One (One available) Pocket Media Drive One (One available)
    Keyboard and mouse HP multimedia keyboard HP PS/2 optical mouse
    Remote Control USB infrared remote control,Remote control expansion card with IR ports,IR emitter cable to transmit codes to a set top box

    Based on what you've posted, your computer does not have the right tuner.   You need a QAM tuner to record locals from FiOS, or a CableCard tuner to record all local and cable channels from FiOS.
    QAM tuners to record local channels only
    This requires Windows Vista or Windows 7
    Hauppauge WinTV-HVR-2250
    SiliconDust HDHomeRun (info on a sale)
    CableCard tuner to record local and cable channels
    This requires Windows 7 + one CableCard from Verizon for $3.99/mo
    ATI TV Wonder Digital PC CableCard Tuner (records one channel at a time) -- $200-$250 on ebay
    Ceton MOCUR tuner (records four channels at a time) -- coming in early 2010 for $400-$600
    Make sure your computer has Windows 7 Home Premium (or better) installed.   That's necessary to support CableCard tuners.
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it.

  • I recently upgraded from 4S to 5S. There are 2 games that I wish to transfer to the new device. 1st game isn't available in the Store anymore, so can't download. 2nd game doesn't save when you change devices. How do I get those 2 apps to my new phone? Tnx

    I recently upgraded from 4S to 5S. There are 2 games that I wish to transfer to the new device. 1st game isn't available in the Store anymore, so can't download. 2nd game doesn't save when you change devices. How do I get those 2 apps to my new phone? Can I do that manually through iTunes?
    Thanks!

    Hello jon713,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    iTunes: About iOS backups
    http://support.apple.com/kb/ht4946
    App Store Application data (except the Application itself, its tmp, and Caches folder)
    Application settings, preferences, and data, including documents
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    http://support.apple.com/kb/ht1848
    To transfer iTunes Store purchases from your device to a computer, follow these steps:
    Connect your device to the computer. If it is synced with another iTunes library, the following dialog may appear:
    Click the Transfer Purchases button.
    Have a nice day,
    Mario

  • I just got a new computer. Itunes tells me that it wants to erase my ipod and install a new library.  How do I get the old library on my new itunes/

    I just got a new computer. Itunes tells me that it wants to erase my ipod and install a new library.  How do I get the old library on my new itunes?

    Launch iTunes on the new computer. From the iTunes menu bar click Store / Authorize This Computer.
    Connect the iPod to your computer then select it under Devices left side of the iTunes window.
    Then from the iTunes menu bar click File / Transfer Purchases From..

  • I purchased an upgrade to my one note app.  How can I get that to transfer to my new iPad?

    I purchased an upgrade for my OneNote app, how do I get that to transfer to my new iPad?   I downloaded the app but the upgrade is not loaded on this new iPad.

    One way is to open the App Store on your iPad and click the "Updates" link in the lower right.  You should see OneNote there with a clickable "Download" button.  Click the button and wait for the download and install to complete.

  • How do I get javadoc to open in a new window?

    Hi,
    How can I get javadoc to open in a new window rather than a tab in JDeveloper?
    Thanks,
    Will
    Message was edited by:
    decuser

    Right click the FireFox button in your toolbar and look in the properties- middle tab...make sure that it only has "C:\Program Files\Mozilla Firefox\firefox.exe" with no other link added to the end. I had a similar problem this morning and found a website had attached it's link to the end so it would always pop up first and would only open a new tab.
    Hope that fixed it.

  • My iTunes downloads were made using my old gmail address.  I had to quit using this email address as it got hacked.  I created a new gmail account.  How can I get my iTunes downloads into the new gmail account?

    My iTunes downloads were made using my old gmail address.  I had to quit using this address  as it got hacked.  How do I get my iTunes downloads into my new iTunes account that was created with a new gmail address?  In my old iTunes account (with the old gmail address,  I can't 'update' my email address or even 'add an alternate address' as I had already created this gmail account and inputting the new address into iTunes gives me the 'pop-up' that 'this account is already in use.'   Advice please!

    Good luck. It took me weeks to fix this when I had to do it. Your old ID branches out in lots of places. You may have to delete app and get them again, at least that is what Apple told me. Plus, all of your settings on your iPad that required any ID, will have to be changed. My old ID kept showing up in different places for weeks. Changing it on Apple.com is just the beginning.

Maybe you are looking for

  • Error in SMTP server configuration 11gR2

    Hi Expertes, I have done the below steps for configurting the notification. 1. Created an IT resource of type mail server. 2. Provided the SMTP server name in the IT Resource. 3. Modified the system configuration and set the XL.MailServer as the newl

  • Af:treeTable component: API to return list of expanded nodes?

    Hi, In my UI design, I am using a tree table (af:treeTable component). Does the framework support API to return (at any given time) a list of all expanded nodes? I realize that I can build logic to 1. return the currently selected node, then 2. query

  • Dv9820us Optical Drive Missing

    This is a little lengthy so please bear with me. I want to get all the facts out there so you know what I've done so far and what I'm dealing with. I bought a dv9820us for parts but found it actually booted into the installed Vista OS. However, it di

  • Nokia-5230 - Youtube Videos Not Clear

    Why the Youtube videos are blurred and not clear (even with normal quality) in my 5230?

  • "This field name is not known", VB6, CRXI RDC

    Implementing RDC/designer in VB6 code. The underlying DB is SQL SERVER 2005. I turned to the RDC / designer method because I couldn't figure out, in a way that worked, how to override the SQL Server db at run time on client machine. My reports contin