How to load an Applet on a panel, within another Applet

Hi,
I want to know if and how it is possible to load an applet/application on a Panel within another Applet/Apllication.
Who can help me?
tnx

You want to use an applet inside an other applet?
Applet extends Panel
you can take the source of the second applet, and instead of extending Applet extends Panel, and call the init method from the first applet.
Hope this help

Similar Messages

  • Collapsible Panel within another Collapsible Panel HEIGHT ISSUE

    Having an issue with the height of a collapsible panel that has another collapsible panel within it not adjusting. I am using Dreamweaver CS5.
    When I try the fix of changing line 431 in .js  (where you change "px" to "auto" where it says this.content.style.height = this.toHeight + "auto";) it does not work in IE7 or Firefox. If I change  the height inferences in the .js on lines 392, 431, and 439--it  worksperfect in Firefox, however it throws an error in IE7. Anyone have a  clue???
    Here is my page: http://www.l-3choosewisely.com/dev/
    username: owl
    password: l3ae2011
    Help would be greatly appreciated. PLEASE PLEASE PLEASE help me!

    For right now I have "semi-fixed" the issue, by adding a min-height to my second collapsible panel set, but really am NOT HAPPY
    with it... please help me, it has to be something with the auto-height... I know I am looking right at it and just not seeing it.

  • Load applet within another applet?

    Let's say I have two applets, A1, and A2. I'd like to load A1 on my HTML page, and I'd like A1 to load A2 within itself (i.e. not load it as another separate applet on the HTML page).
    Basically, A2 takes some parameters I would like to pass to it through A1, so I'd like to know if this is possible.
    Thanks for any help!
    James

    Totally possible. You just have to provide it an applet context
    see http://java.sun.com/j2se/1.4.2/docs/api/java/applet/AppletContext.html

  • How do you add a horizontal tabbed panel within the eCommerce "Individual-Product-Large" page?

    I am a new user to Business Catalyst and Muse web design... So sorry if this seems like a daft question
    I have created a website in Muse.
    Then I created the template page that BC can reference for the eCommerce area and inserted the tag to hold content from the BC - {tag_pagecontent}.
    I then created products and catalogues, grouped products etc - all groovy. Working great.
    I then decided that it was time to style the page as per my design - snap shot below (similar to how i did for the blog - which works great).
    So i started with the page layout.
    I managed to move the content from left to right and change widths, i then started to try to create the tabbed section in the same way and ba bowwwwww - epic fail
    I want to use a "Horizontal Tabbed Widget" as per the one i picked from Muse.
    I have a LOT of information that is unique for each product, so rather than have this huge page, its just easier to show it this way - plus it seemed pretty standard on other eCommerce site...
    But I am stumped.
    I'm so confused, i thought if i copied what seemed like a standard on other sites it would be fairly easy, especially since Muse has the Horizontal Tabbed widget - i though it would just come over to BC.
    Except, i can't get it to work...
    I'm not sure what i am doing wrong?
    A) I would like the "Individual-Product-Content" to look like the Horizontal Tabbed Widget in the screen shot of the original design from inside Muse below - im sure its possible.
    The Tabbed section is unique to the product, as is the description and the little icons bottom left and the ingredients.
    B) then the next conundrum is that each tab would have unique text to the product it is showing, how do i add those fields into the BC Product menu where the product is created and added to catalogues etc.
    I have searched and searched the web and have found nothing that is helpful.
    Anything that i have found only does a portion of what i need.
    I found something on jQuery - should i be using this?
    Or can i create the same thing using CSS?
    Or should i be combing jQuery with the BC Web Apps?
    I'd really just like help where i can be pointed in the direction of the instructions to achieve this.
    I even downloaded the BC instruction manual, which also has nothing.
    I'm sure that the answer is very very simple - but i'm just not experienced enough and after a week of trying to find the solution i thought i'd ask the experts!
    I really do appreciate anyone who takes the time to help me out.
    Thanks heaps!
    Muse Design:
    Current layout in Adobe BC:

    HI DAVIDFON, Thank you for replying to my post.
    I am using Adobe Business Catalyst to build the eCommerce component of the site. This is where i came a cropper.
    I'm not using Bootstrap or Foundation. I have done a little research on both and am wondering how easy it is to add the tabbed section to Business Catalyst with Bootstrap? nothing really explains this online...
    I'm also wondering how easy it is to put in custom information in the tabbed sections when the fields and tags are not available in Business Catalyst.
    Do you know if i can add custom fields and new tags in Business catalyst when you add products in BC?
    I'm sure you can but i can't find any reference to this online either?
    Thanks for your help.

  • How can I call a LabVIEW executable from within another LabVIEW executable?

    I have a customer requirement for two LabVIEW executables. Based on their current setup, they need to run executable "A" or "B", both of which are under independent revision control. I have created a third "selection" executable that allows the operator to choose between one of the two, but I am receiving errors when I attempt to call a LabVIEW executable from within a LabVIEW executable using either the "System exec" VI or the "Run Application" VI. If I call a non-LabVIEW executable (such as Windows Explorer) everything works fine.

    > I have a customer requirement for two LabVIEW executables. Based on
    > their current setup, they need to run executable "A" or "B", both of
    > which are under independent revision control. I have created a third
    > "selection" executable that allows the operator to choose between one
    > of the two, but I am receiving errors when I attempt to call a LabVIEW
    > executable from within a LabVIEW executable using either the "System
    > exec" VI or the "Run Application" VI. If I call a non-LabVIEW
    > executable (such as Windows Explorer) everything works fine.
    As with the other poster, I suspect a path problem. You might try the
    path out in a shell window, and if it works, copy the complete absolute
    path to LV to see if that works. LV is basically passing the comma
    nd to
    the OS and doesn't even know what is in it, so you should be able to get
    it to work.
    The other poster commented on subpanels, which is a good suggestion, but
    without going to LV7, an EXE can have open more than one VI. You can
    use the VI Server and the Run method to fire up another top-level VI.
    The decision is whether you want both to be in unique processes.
    Greg McKaskle

  • To load a pdf in a Panel

    Hi,
    How to load a pdf in a panel.
    I tried the code:-
    var u:URLRequest = new
    URLRequest("../pdf/Registration.pdf");
    navigateToURL(u,"_blank");
    This will open the pdf in a new window. I need to get the pdf
    file open in a panel .

    There's no way to load PDF -inside- your SWF content. You can
    do it the other way around (have a PDF that hosts a SWF). But Flash
    Player doesn't read PDF. So you have to do this with a new window
    or an iframe or something similar..

  • How to run java file by using another applet file  ??

    how to compile and run java file by using another applet or japplet file .

    how to understand what you are talking about.

  • How to load a java card applet into a java card

    Dear All,
    I am a novice to java card technology..
    I have done some search on how to load a java card applet into a smart card but haven't found a satisfactory answer. I have read about installer.jar and scriptgen tool but I want to load the applet from a java program and not from command line. It would be of great help if somebody can help me out.
    If somebody can share a sample program which load a javacard applet(.CAP file) into a smart card, I will be very thankful.
    I am able to find some client applications which help us send APDU commands and recieve response APDU's to interact with an applet loaded on to the smart card but not application which actually load the applet.
    I have heard of OCF and GP.. some say that OCF technology is outdated and no longer in use.. can somebosy throw some light on this too..
    cheers,
    ganesh

    hi siavash,
    thanks for the quick response.. i checked out GPShell as suggested, it looked like a tool by which one can load an applet on to card and send some sample apdu commands... but I want to load the applet from the code.
    My application should look something like this.. it will be a swing applicaton where I have a drop down with a list of readers, I select the one desired and then click on "LOAD" after inserting a blank java card, at this point my applet which is stored in my DB should get loaded on to the java card. The next step should be to personalize it where I enter the values for the static variables of my applet and click "PERSONALIZE", at this point all these values should be embedded into APDU commands and sent to the java card for processing.
    For achieving this I am yet to find a comprehensive sample or documentation on the net.
    Please help...
    regards,
    ganesh

  • Info on how to load jdk 1.1 applet

    I am totally new to this technology.
    How do I load a jdk 1.1 applet onto a geocities website?
    Do I need a special program to run the applet?
    I have uploaded the applet and cannot figure out how to operate it, I can find no html or class files.
    this is an applet for creating islamic tiling and interlacing, here is the url, if you are willing to come this far with me
    http://www.cs.washington.edu/homes/csk/tile/islam/
    Sorry, But I'm an artist and not a web site designer.
    Please explain in very simple terms
    Thank you
    Storm

    Use the HTML applet tags, if you know HTML. If all you want to do is the applet and nothing else, then just create the following HTML file in simpletext (save it as FileName.html), or even geocities file manager:
    html
    <applet code = "ClassName.class" width = 400 height 400>
    </applet>
    /html
    The numbers and file name listed above are just ones I used as an example. Use whatever ones you need to make it big enough and to load the class you want. And remember to put the < and > in the HTML tags, I didn't so that it would show up on this forum.
    This procedure WILL NOT work with Yahoo! PageBuilder, in case that's what you are using.
    Remember to upload the CLASS file into your geocities file manager/directory or it will not work.
    If all you want to do is load an applet and it doesn't work, then their is something wrong with your browser (probably because it doesn't support JAVA).
    Another good idea would be to download jdk 1.2.2 or jdk 1.3, probably found at sun.com somewhere (I'm still trying to find it, hehe!)
    Tell me if it works or not and whether or not you understand what I'm talking about. Thanx.
    -Conrad

  • How to load an Applet application for 1000cards?

    Hi Friends..
    I want to know How to load an Applet application for 1000cards?..
    Assume that, i have an Applet application that need to loaded into 1000cards..
    So, how to solve this?
    Do i must to load an application manually for each card?
    Is there any another way?
    Thanks in advance..

    for 1000 cards you can use a "small" printer like an evolis "dualis" or something like that
    we've produced thousands of cards with this method in my company.
    the pro is that you can also print the cards in the same time.
    they usually have simple APIS like get_new_card_from_loader(), put_card_on_contacts(), eject_card()
    you can connect any reader on the printer , the raw card contacts are available on a connector.
    some printers also have contactless couplers.
    but remember that deploying cards in the field is not just loading an applet.
    it's also a cryptographic challenge, you need to change the card keys or anyone will be able to play with your cards, adding and removing applets as they want.
    typically this is achieved by using an ultra secret mother key and whatever derivation algorithm you like using data from INIT UPDATE as diversifier. example, you can TDES cipher part of the INIT UPDATE data using the mother key as TDES key, or use something involving SHA1, using a HSM if you are serious, etc.
    for your entertainment here is a high volume card personnalization machine. That's amazing.
    http://www.youtube.com/watch?v=6ZBF_yKRF5w

  • How to load an applet jar file?

    Hello everyone,
    I have an applet that uses my own jar file and approximately 6 third party jar files. I set up jar indexing (jar -i) which will download the jar files when they are needed. All seems to work well, but now I want to manually load the jar files which I cannot get working.
    When the applet starts, about 1/2 of the jar files are downloaded (because they are needed at startup). I then want to load the additional jar files in the background, after the gui is initialized. I have tried this using the below thread which is executed from within the applet's start method:
    // Try to load additional jar files in background by loading a class from each jar file.
    Thread loadClass = new Thread() {
      public void run() {
        System.out.println("Loading classes...");
        try {
          // Tried loading classes this way, doesn't work.
          getClass().getClassLoader().loadClass("pkg1.Class1");
          getClass().getClassLoader().loadClass("pkg2.Class2");
          getClass().getClassLoader().loadClass("pkg3.Class4");
          getClass().getClassLoader().loadClass("pkg4.Class4");
          /* Loading classes this way doesn't work either.
          Class.forName("pkg1.Class1");
          Class.forName("pkg2.Class2");
          Class.forName("pkg3.Class3");
          Class.forName("pkg4.Class4");
        catch(ClassNotFoundException e) {
          // First attempt to load a class (pkg1.Class1) throws exception.
          System.out.println("Can't find class: " + e.getMessage());
    loadClass.start();As you can see from above I am trying to load a class from each of the jar files so that the jar files would load into memory/cache. Unfortunately, it cannot find the classes. These are the errors from the java console:
    Loading classes...
    Loading: pkg1.Class1
    Connecting http://my.server.com/my_dir/pkg1/Class1.class with no proxy
    Connecting http://my.server.com/my_dir/pkg1/Class1.class with cookie "JSESSIONID=some_big_long_char_list"
    Can't find class: pkg1.Class1
    So it appears the jar file is not being downloaded. When I take away the dynamic jar loading (removing the "jar -i" & adding them all to the applet archive list) the thread executes correctly. So I know the class names, etc, are correct. How does one load an applet jar file?
    Any help/suggestions are appreciated.

    The above error I posted was because I forgot to index the jar files. That is why it couldn't find the jar file. I thought I was getting farther along with my problem, but I apparently just forgot to index the jars. I am now getting the problem that I got yesterday...
    The applet freezes/hangs when it hits the thread. The GUI never opens (even though I'm running this thread right after the gui shows). The java console quits responding and the applet just stays the grey screen. I also tried the invoke later that you suggested.
    public void start() {
      // ...initialize gui...
      // Applet freezes and remains grey, also the java console freezes.
      javax.swing.SwingUtilities.invokeLater(new Runnable() {
        public void run() {
          System.out.println("Loading classes...");
          try {
            // When I comment out the below forName calls, the thread will still run evidenced through the done print statement.
            Class.forName("pkg1.Class1");
         Class.forName("pkg2.Class2");
         Class.forName("pkg3.Class3");
         Class.forName("pkg4.Class4");
            System.out.println("...Done loading classes");
          catch(Exception e)     {
            System.out.println("Can't find class: " + e.getMessage());
    }

  • How to load an applet in card?

    Hi everyone,
    I use NetBeans and its JavaCard Simulator, protocol T = 0, and I am wandering how to load an applet using APDU tool instead of clicking on Run Projetc which do the mentioned thing. It would be helpfull if someone post ouptut and explain all used apdu commands.
    Thanks,
    Mare.

    Here is the APDU trace:
    Select Card Manager
    => 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00
    <= 6F 10 84 08 A0 00 00 00 03 00 00 00 A5 04 9F 65
        01 FF 90 00
    Authenticate
    cm>  init-update 255
    => 80 50 00 00 08 09 41 55 62 DF F5 61 2B 00
    <= 00 00 C6 D8 6A 1C B2 02 14 13 FF 02 00 00 93 73
        3A B8 2C 0F 8E A4 1D EF 84 60 77 12 90 00
    cm>  ext-auth plain
    => 84 82 00 00 10 B5 AA A8 E6 8B 73 57 F9 5D 37 6C
        D1 FE CF 56 32
    <= 90 00
    Install For Load
    => 80 E6 02 00 12 05 11 11 11 11 11 08 A0 00 00 00
        03 00 00 00 00 00 00 00
    <= 00 90 00
    Load Block 1
    => 80 E8 00 00 FF C4 82 01 65 01 00 1A DE CA FF ED
        02 02 04 00 01 05 11 11 11 11 11 0A 68 65 6C 6C
        6F 57 6F 72 6C 64 02 00 21 00 1A 00 21 00 0A 00
        0B 00 2A 00 0E 00 A1 00 0A 00 17 00 00 00 5A 02
        5A 00 00 00 00 00 00 01 01 00 04 00 0B 01 02 01
        07 A0 00 00 00 62 01 01 03 00 0A 01 06 11 11 11
        11 11 11 00 08 06 00 0E 00 00 00 80 03 00 FF 00
        07 01 00 00 00 1C 07 00 A1 00 01 10 18 8C 00 04
        7A 05 30 8F 00 09 3D 8C 00 02 18 1D 04 41 18 1D
        25 8B 00 03 7A 04 22 18 8B 00 07 60 03 7A 19 8B
        00 06 2D 1A 04 25 75 00 6D 00 06 00 00 00 1D 00
        01 00 2C 00 02 00 3B 00 40 00 4A 00 41 00 57 00
        42 00 62 19 8B 00 05 3B 19 03 1A 07 25 8B 00 08
        70 49 19 8B 00 05 3B 19 03 1A 07 25 8B 00 08 70
        3A 19 8B 00 05 3B 19 03 1A 07 25 8B 00 08 70 2B
        03 32 04 8D 00 00 32 1F 8D 00 01 70 1E 05 8D 00
        00 32 1F 8D 00
    <= 00 90 00
    Load other Blocks with  80 E8 00 xx ... which xx is the Block number
    Load Last Block
    => 80 E8 80 01 6A 00 01 70 13 03 8D 00 00 32 1F 8D
        00 01 70 08 11 6D 00 8D 00 01 7A 08 00 0A 00 00
        00 00 00 00 00 00 00 00 05 00 2A 00 0A 06 80 08
        10 06 80 07 01 06 00 00 01 03 80 03 02 06 80 03
        00 03 80 0A 06 03 80 0A 01 03 80 03 03 03 80 0A
        08 01 00 02 00 09 00 17 00 00 00 13 05 06 04 0A
        07 07 25 09 06 09 06 09 08 05 06 05 06 05 08 00
    <= 00 90 00
    Install For Install
    cm>  install -i 111111111111  -q C9#() 1111111111 111111111111
    => 80 E6 0C 00 1A 05 11 11 11 11 11 06 11 11 11 11
        11 11 06 11 11 11 11 11 11 01 00 02 C9 00 00 00
    <= 90 00Note that if you want to use APDU manually, you should do the authenticate process and loading all blocks of the CAP file yourself.
    Note that this is the APDU for a real card that is executed in JCOP Environment. I think it should work for the simulators too except the authentication commands.

  • How to load an applet in a swing frame?

    Hi All,
    Can any one tell how to load a HTML applet in a Swing frame, I have a requirement where in the swing frame must contain a HTML applet.
    Thanks in advance...
    Panneer.

    Panneerselvam wrote:
    Can any one tell how to load a HTML applet in a Swing frame, I have a requirement where in the swing frame must contain a HTML applet.You don't. The requirement reeks of the ridiculous.
    Also, what is an "HTML" applet and how is it different from a regular applet or JApplet? I feel a case of jargonitis coming on.

  • How i use multi panel in single applet

    hi master
    sir i need three panel in single applet
    i use this code but not set the panel
    pnl.setBounds(20, 10, 10, 20);
    and
    pnl.setLocation(12, 12);
    and
    pnl.setSize(12, 20);
    this is my class code
    JTable table = new JTable(rdata, columnNames);
    getContentPane().add(table.getTableHeader(),BorderLayout.NORTH);
    getContentPane().add(table);
    JPanel pnl = new JPanel();
    //pnl.setBounds(20, 10, 10, 20);
    //pnl.setLocation(12, 12);
    pnl.setSize(12, 20);
    pnl.add(new JScrollPane(table));
    getContentPane().add(pnl);
    //pnl.setBounds(10, 10, 10, 20);
    please sir give me idea how i use multi panel and how i set panel boundry
    thanking you
    aamir

    http://forum.java.sun.com/thread.jspa?threadID=5118094&tstart=0

  • [SOLVED] [GNOME3] How to add applets to the panel

    I'm using GNOME 3 in fallback mode, and I can't figure out how can I add or remove applets to gnome-panel. I can't find any GUI tool for do that, and I can't add dconf settings also (with dconf-editor I could set existing values only). Could someone help me?
    Last edited by City-busz (2011-04-11 14:10:47)

    LeCrayonVert wrote:Same thing here on my laptop... I dunno why, cause alt+right click works fine on another computer...
    Maybe you changed the key /apps/metacity/general/mouse_button_modifier in gconf-editor. I had changed it to <Super>, resetting it to the default (<Alt>) made Alt+Right-Click work. (at least, for some time after the session starts, but it may be an other problem).
    P.S.: See this thread : https://bbs.archlinux.org/viewtopic.php?id=117978
    Last edited by Niavlys (2011-05-13 13:55:25)

Maybe you are looking for

  • My IPhone 5 won't allow me to turn on my bluetooth, when I try to turn it on it automatically goes back to the off position.

    My IPhone 5 won't allow me to turn on my bluetooth, when I try to turn bluetooth to the on position, it automatically goes back to the off position.  I can't connect bluetooth with anything?

  • Hard Drive Crash - FCP can't read QT files

    Hey all, I had an external drive crash but was able to save the data last year. I'm trying to revisit an old project, but FCP doesn't recognize the quicktime files. Originally FCP wouldn't open the project file, but after doing some poking around I r

  • SAP BI : Roles & Authorizations

    Hi, I am working on roles & authorizations for SAP BI 7.0 How can I create authorization for a scenario mentioned below: One user (userid ALAN) has two vendors under him viz V001 & V001A. V001 has access to plant A001, A002 and V001A has access to pl

  • Any idea on Premiere update?

    Needing to use Mercury Playback to speed things along, and I'm assuming the problems with crashing will be fixed with an update. Any idea on how soon it might come?

  • Link 1.1.1: Error syncing Outlook contacts with Q10

     I configure the Contacts and Calendar settings for my Outlook account in Link (actually leave them at default) If I choose to synchronize contacts only, e. g. if I check the checkbox at Contact and clear that one at Calendar, all goes well If I choo