How can I add an other pop up applet in a already running web-page?

I have an applet embbed in html.
I want to get another applet as a pop up (not embbed in html) when I press a button in the html.
I have tried:
if (e.getSource() == button {
Applet2 applet2 = new Applet2();
applet2 .init();
but the applet haven't pop up, but I know that it's already called.
Is it because I have
"getContentPane" in the second applet?
Can anyone know the reason and how to solve it?

Maybe you should redesign your applet to have a JDesktopPane as the content pane, and design other subGUis as JInternalFrame and once action performed is called a new subGUI is created and JDesktopPane adds it to the main applet

Similar Messages

  • How do we add a link to process map on the desk manual web page?

    Hi: The Tutor demo I used shows a hyperliink to process flows and one can drill down to see the connections between the processes at a high level so the auditor to navigate the different processes and sub-processes. Is there somewhere in the documentation that can show me how to include this? I created a process map document, using the steps in the documentation, saved it with the prefix RE and published it, created a new index, but sadly I can't seem to get a link to this on the main web page. Also when I click the hyperlinks on the Process flow doc, I get a web page error although I used a valid PR doc name. Any help would be greatly appreciated. Is there any additional documentation on publishing the maps and displaying them on the web pages? Thanks so much, Heather

    Hi Emily: I'm finding it difficult to understand how the SR suggestions answer my inquiry. Is there any way you can take a look at SR 3-7354806811? , Heather

  • How can I delete the "share" bar (facebook, twitter, etc.) from the web page I'm looking at?

    A "share" bar comes up and blocks part of the information I'm viewing. I don't care to share anything on facebook, twitter, pinterest, etc. How can I stop this share bar from appearing? One suggestion was to go to Tools, Options, Content, and uncheck Enable Javascript.
    I don't have a javascript box. Then what?

    Although these tools may be created using scripting, turning it off probably would break half of the web. So this setting has been hidden from easy changing. (It's still there if you really need it, but...)
    Does this problem occur nonstop on all sites, or only on particular sites? If you see it all the time, it might be a feature of one of your add-ons. As a quick test to rule out your extensions as the cause, could you try visiting the same sites in Firefox's Safe Mode? That's a standard diagnostic tool to bypass interference by extensions (and some custom settings). More info: [[Troubleshoot Firefox issues using Safe Mode]].
    You can restart Firefox in Safe Mode using
    Help > Restart with Add-ons Disabled
    In the dialog, click "Start in Safe Mode" (''not'' Reset)
    Any difference?
    If it's a feature of a few websites, could you give some sample links? We may be able to suggest ways to block it on those sites.

  • How can I get just the text to resize, rather than the entire web page?

    I used to be able to re-size just text on a webpage by typing Ctrl + +. Today, the entire webpage re-sizes, and when I move to another page it reverts. (I see this mostly in Facebook.). Why did this change, and can I go back to having just the text re-size?

    ''How can I get just the text to resize -- zoom text only''
    steps
    #"Alt" if no menu bar, then
    # View > Zoom > Zoom Text Only
    Zoom text of web pages - MozillaZine Knowledge Base
    :http://kb.mozillazine.org/Zoom_text_of_web_pages
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

  • How can i get Firefox to change all the printable info on a web page print to black, so i can see the printout?

    Firefox correctly changes the print background to white, but leaves the colored info as it was on the web page. My monochrome printer uses Grey Scale to interpret the colors, but most colors are interpreted with so dimly that they cannot be seen on the printout.
    I am running Firefox 3.6.10 with Ubuntu Firefox Modifications 0.9rc2 and the OS is Ubuntu 10.04. I have disabled the Ubuntu Firefox Modifications Extension, but the results are the same.
    Thank You for your help!
    Chazbo

    Does Firefox offer to store a new password if you remove the old password?
    * http://kb.mozillazine.org/Deleting_autocomplete_entries
    Make sure that you not run Firefox in (permanent) [[Private Browsing]] mode.
    * You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    * To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Uncheck: [ ] "Permanent Private Browsing mode"

  • How can I add a playlist without deleting the songs I already have on my iphone.  It wont let me drag

    This is driving me mad.  I simply want to add a new playlist to my iphone but a message says that when I beging syncing it will delete my previous songs.  I obviously dont want this to happen.  In addition, I cant just add these new songs by dragging as it wont allow me to do it.  Please help

    Hi there.  Not sure how to get to where I can ask you a question so I just jumped in here.  Hope thats ok with you.
    You seem extremely knowledgeable with solutions to all kinds of questions,
    My problem is I tried to add a playlist from Itunes to my Iphone (5) and it will not add it.  I have been doing this for years with all my Iphones and this is the first time its happened.  I still have room to add them, so cannot understand what I am doing wrong. 
    I would really appreciate any help you could offer, thanks in advance!

  • How can I add a digital download (pdf) to an autoresponder from a web form?

    I have a simple web form on my site, name and email.  I know how to access and edit the autoresponder email, but I dont know how to add a digital download.  I want the auto responder to include a PDF.  Can anyone help me with this?
    G

    Don't know if you've resolved this, but I would put the PDF in the Media Downloads then just add the link within the autoresponder of the form.
    Hope this helps,
    Chad Smith

  • How can I add an JEditorPane to an Applet?

    i saw it in Swing2 demo and its working in applet too.
    but I couldnt make it work . Any clue apriciated.

    Hi is this you are looking for...Check out...
    import java.awt.*;
    import javax.swing.JApplet;
    import javax.swing.*;
    import javax.swing.text.*;
    public class Example extends JApplet
         public void init()
         try {
               String url = "http://java.sun.com";
            JEditorPane editorPane = new JEditorPane(url);
            editorPane.setEditable(false);
            //JFrame frame = new JFrame();
            //frame.getContentPane().add(editorPane, BorderLayout.CENTER);
            //frame.setSize(100, 300);
            //frame.setVisible(true);
              } catch (Exception e) {
    }---Vidya

  • How can I add a line-arrowhead annotation on top of jpeg image in Pages?

    I have a jpeg annotation that I want to insert a line->arrowhead on top of. When I insert the line->arrowhead and drag it on top of the image it goes behind the image instead of on top.
    Anyone have any suggestions?

    Hello
    The Arrange menu is your friend.
    You may select the arrow then "Bring to Front".
    Yvan KOENIG (from FRANCE vendredi 19 septembre 2008 17:49:50)

  • I got the new iPhone 5C. In my cellular settings, under "Use cellular data for", it only show passbook and facetime. How can I add other apps? Also, my carrier is AT&T

    I got the new iPhone 5C. In my cellular settings, under "Use cellular data for", it only show passbook and facetime. How can I add other apps? Also, my carrier is AT&amp;T

    Hello Sophie59
    You should be able to see two different tabs when setting up the email if you go to Other > Add Mail Account. Once you enter in the email address and password, you should be at the next screen to provide more details about the email as far as incoming and outgoing servers and at the top there will be a blue section to add it in as a POP or IMAP email account. Check out the article below for further troubleshooting and emails setup options.
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    iOS: Adding an email account
    http://support.apple.com/kb/ht4810
    Regards,
    -Norm G.

  • How can i add to a listBox items near in a new column other items ?

    The items on the right i changed the property of the listBox1 righttoleft to Yes.
    My problem is i want to build a new column for the number so each number i'm adding will be next on the left to the belong item string. And not under it like now.
    1. Maybe i need to use another control and not listBox ?
    2. How can i add column/s and also maybe adding a title to each column like: Names Id Number....?

    If you want columns, you should consider a
    ListView or
    DataGridView.

  • When I try to print sth I can´t choose my printer. Adobe Reader only shows a printer I used years ago.I aleady deleted and reinstalled the Reader and deleted all other printers from the computer.How can I add a new printer to Adobe Reader?Thanks for help!

    When I try to print sth I can´t choose my printer. Adobe Reader only shows a printer I used years ago.I aleady deleted and reinstalled the Reader and deleted all other printers from the computer.How can I add a new printer to Adobe Reader?Thanks for help!

    Hi,
    I would suggest you to uninstall Adobe Reader using the cleaner tool and then re-install the latest version.
    Adobe Cleaner Tool:- Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs.
    Latest version of Adobe Reader:- http://get.adobe.com/reader/
    If you still experience the same issue, please share the following information:-
    - Screenshot of Adobe Reader showing printer options
    - Screenshot of Microsoft Word showing printer options
    - Screenshot of control panel- Control Panel\All Control Panel Items\Devices and Printers
    Regards,
    Nakul 

  • How can I add a fade or other transitions to the pages of my website?

    How can I add a fade or other transitions to the pages of my website?

    like this :
    http://www.onextrapixel.com/2010/02/23/how-to-use-jquery-to-make-slick-page-transitions/
    Cheer up !

  • How can I add donate page with different levels of giving such as $250, $150, $50, Other

    How can I add donate page with different levels of giving such as $250, $150, $50, Other.  I am using Foxy Cart…is this possible?

    From Muse end , you can add texts as donation value with paypal button which would take the users to paypal site for payment, with Foxy Cart you can try the suggestion mentioned here :
    https://forum.foxycart.com/discussion/4417/donation-page-radio-button/p1
    Thanks,
    Sanjit

  • How can i add selected element from one node to other node

    Hi All
    I have below requirement.
    Say In the view leftside Available Languages ItemList Box  Rightside Available Languages ItemList Box and Add & Remove Buttons in the middle.
    User selects languages from Available Languages ItemList Box clicks on add it will adds to the Available Languages Item List box and ViceVersa with Remove Button.
    1) I have created 2 nodes 1) AvlLang 2) SelLang both contains two attributes Key and Value.
    2) For AvlLang node,  Property : Data Dictonary binded with table. Values are coming fine in Available Languages ItemList Box.
    3) How can i add selected language into the node Available Languages.
    Please provide the code snippet how to achieve this.
    BR
    X- CW

    Hi Carlin,
    Find below code to copy selected record from one node to another.
    Here I am copying it_lips node into pack_mat node.
    DATA: wa_temp TYPE REF TO if_wd_context_element,
                lt_temp TYPE wdr_context_element_set,
                count type c.
          DATA : lo_nd_it_lips TYPE REF TO if_wd_context_node,
                 lo_el_it_lips TYPE REF TO if_wd_context_element,
                 ls_it_lips TYPE wd_this->Element_it_lips,
                 lt_it_lips TYPE wd_this->Elements_it_lips,
                 ls_unpack TYPE wd_this->Element_unpack,
                 lt_unpack TYPE wd_this->Elements_unpack.
    * navigate from <CONTEXT> to <IT_LIPS> via lead selection
          lo_nd_it_lips = wd_context->path_get_node( path = `ZRETURN_DEL_CHANGE.CHANGING_3.IT_LIPS` ).
          CALL METHOD lo_nd_it_lips->get_selected_elements
            RECEIVING
              set = lt_temp.
    * navigate from <CONTEXT> to <PACK_MAT> via lead selection
          lo_nd_pack_mat = wd_context->get_child_node( name = wd_this->wdctx_pack_mat ).
          LOOP AT lt_temp INTO wa_temp.
            CALL METHOD wa_temp->get_static_attributes
              IMPORTING
                static_attributes = ls_it_lips.
                  ls_pack_mat-vgbel = ls_it_lips-vgbel.
                  ls_pack_mat-vgpos = ls_it_lips-vgpos.
                  append ls_pack_mat to lt_pack_mat.
                  CLEAR ls_pack_mat.
          endloop.
            lo_nd_pack_mat->bind_table( new_items = LT_PACK_MAT
                                        SET_INITIAL_ELEMENTS = abap_true ).
    Cheers,
    Kris.

Maybe you are looking for