Diferences between frame and applet

Hello all
I have a problem with using an applet,
In my applikation i have a simple frame which shows some rows of a table in a mysql database.
I thougt i just can use this frame in an applet, but allthough i see the applet in jbuilders appletviewer it does not work in both browsers i tried (ie6, nc4.6) in ie it just shows a grey surface and in netscape it get an security violation : method verifikation error.
how can i properly establish a JDBC Connection from an applet?
Now i have tree classes....one to connect to the database, one to model and a GUI

Hello there
I got a similar problem about one year ago. You ge a result using application or appletviewer, because in these cases both programs are able to use the hardware of your computer. By opening the applet in a browser it runs in a "sandbox" and isn't able to use hardware any more. Unfortunately I wasn't able to solve this problem, although there is literatue in the web how to do it.
I went on to use servlets instead and today I'm happy I have chosen this way because the options what can be programmed are greater!
Althoug I haven't written any link I hope I could help you.
bye

Similar Messages

  • What is the diference between pane and panel?

    What is the diference between pane and panel?
    Thanks.

    The panel is the UI part of the VI. It can be divided into several panes which are simply different parts of the same panel, which can have seperate scrollbars, etc.
    Try to take over the world!

  • Diference between STO and Shipment order?

    Hi All ,
    There are two plants , one is manufacturing and other is sales .  In sales plant sales order is created and after MRP run Purchase requisition is created(for getting materisl from production plant) . In me59 we convert this Preq to shipment order.
    1)Can oyu please tell me whant is diference between STO and shipment order?
    2) Can you tell me what is the configuration to avoid creation of shipment order and system will only create the STO from Preq after executing Me59?
    Thanks
    Rohit Chavan

    Hi Chavan,
    Starting with "Shipmnt Order" definition => (from SAP Help):
       An order to a transportation service provider to ship goods from a shipper to a single consignee with agreed terms and conditions. The corresponding confirmation from the transportation service provider is also part of the business object.
       You can use this business object to subcontract the transportation of goods from a shipper to a single consignee if you cannot fulfill a shipment request yourself or if you regularly subcontract transportation services.
       You can also use this business object in the process of transportation service provider selection and tendering. The aim of both processes is to assign a suitable transportation service provider (TSP) to a shipment order.
    http://help.sap.com/saphelp_tm60/helpdata/en/66/dda98bb6b64c30b925f031bb0a2023/content.htm
    STO is just Stock Transport Order => functionality to move stock from one plant to another plant in two steps( inclidung GI in the sending plant and GR in the receiving plant).
    Usuall documnt flow in the STO process => PO(UB or NB order type), delivery, GI -> GR (done via migo for example).
    I believe that you can avoid cration of the Shipmnt order via correct selection on ME59 screen. Just something what is characteristic for STO and not for Shipmnt Orders.
    Best Regadrs,
    Tomek.

  • Diference between DATA: and TYPES: on internal tables

    Hi people,
    Can somebody help me. I wanna know whats the diference between DATA: and TYPES: on internal tables
    and whitch has the best performance, here is a eg:
    DATA: BEGIN OF ti_sbook occurs 0,
              carrid   LIKE sbook-carrid,
              fldate   LIKE sbook-fldate,
              customid LIKE sbook-customid,
              loccuram LIKE sbook-loccuram,
           END OF ti_sbook.
    AND
    TYPES: BEGIN OF ti_sbook ,
              carrid   LIKE sbook-carrid,
              fldate   LIKE sbook-fldate,
              customid LIKE sbook-customid,
              loccuram LIKE sbook-loccuram,
           END OF ti_sbook.
    DATA: gw_sbook       TYPE  TABLE OF ti_sbook,
    gs_sbook       TYPE ti_sbook.
    witch of both types is better?
    thanks.

    Hi Marcelo,
    For compatibility matters is better to create internal tables with a work area separately. So yes it's better to use types. When you work with Object Oriented coding you will need to use internal tables defined with types. Also when defining tables with types is the new way of coding, the another coding is getting obsolete defined by SAP. That's why when working in ABAP with OO (Object Oriented) code you'll have to define tables with types and not the other way.
    Hope it helps.
    Regards,
    Gilberto Li

  • Doubt about diference between SAPconsole and SAPmobile

    Hello,
         I have been many doubts about diference between sapconsole and sapmobile, if anyone could help me I appreciate.
    1) I have ECC6 instaled, the SAP Mobile is compatible with ECC6 or I need of Netweaver Instaled ?
    2) If Possible to Install Sap Mobile in ECC6 , I have to Buy a license of sap mobile ?
    3) in any product instaled Windows CE have possible to install sap mobile ?
    4) In sap console what is the requirement for to do this configuration?
    I Anybody to know about this informations please explain for me ?
    Thanks

    My apology, 
        The Basic Diference beteween SAPConsole and SAPMobile is :
    SAPConsole ==>  
    1 ) Don' t need a new Hardaware for to configurate
    2 ) Only need a Machine with the IIS service installed
    3 ) The SAPGui CD content the SAPCOnsole.exe for configuration
    4 ) The equipment like Pocket and datacolletor has been to configurated in a Network( but if to have a entrance in the SAPGUi indicate a SAProuter in another factory is possible to have acesses.. ) is a mandatory. Cause the SAPCOnsle folow the SAPGUI entrances and need a LAN or a WAN configurated.
    Advantage
    simple to congurated and chip.
    Easy to create to new window cause the SAPConsole only plubish this window in Browser.
    Disadvantage
    Need a lincense for each Poket or Datacolletor, wherever the equipment you will use.
    Doesn't have a Database  using through Browser (IE6 or IE7) this way , during the processes lost network you go to lost the information not saved.
    SAPMobile
    1 ) Need the a good Machine  with a instance of SAP configurate
    2 ) Have to found the EXE in the MarketPlace
    3 ) is not publish, and yes a client with the database configurate in equipment
    4 ) The equipment like Pocket and datacolletor has been to configurated in a Network
    Advantage
    Need only one SAP License, doesn't metter how many equipment  in use you have.
    As the SAPMobile has a Database in the client , if you lost the network it goes to save in the local database and when the network come back , it will to synchronize. This way you don't need to work online every moment, you get to synchronize after.
    Disadvantage
    You profit in license is your lost in the Machine cause the price of Machine is expensive.
    is configurate only in windows Mobile.
    The window only can be create for a Developement and not in the SAP, have been created in windows Mobile.
    A tip, the both is good but you can do a simple mathematics.
    In the SAPConsole how much money you go to spend is the least of the Machine s Price.
    If yes confurate the SAPConsole , if not configurate the SAPMobile

  • Diference between SCP and FTPS

    Hi, people,
    Some know the diference between SCP and FTPS because I need to make a connection in one interface and I need to know the diference.
    Thanks!!

    Hi,
    have a look at this page:
    http://geekswithblogs.net/bvamsi/archive/2006/03/23/73147.aspx
    and check sections:
    FTPS (FTP-SSL)
    and
    SCP (Secure Copy)
    Regards,
    michal

  • Two days before my iphone 5 battery was expand and display screen came out and now there has some gap between frame and display.so how it will happen and i already got before months.now i need to backup all the data to icloud before through out.

    two days before my iphone 5 battery was expand and display screen came out and now there has some gap between frame and display.so how it will happen and i already got before months.now i need to backup all the data to icloud before through out.
    https://www.dropbox.com/home/iphone
    https://www.dropbox.com/home/iphonehttps://www.dropbox.com/home/iphone

    Make an appointment at the genius bar of your local Apple Store. The phone has a 1 year warranty. If it's no longer under warranty, a replacement is $269.

  • Diference between choice and message choice

    Hi
    I'm testing UIX. What is the diference between choice and message choice? When I can use this components?
    Thanks
    Liceth

    The messageChoice control is a combination of the choice and messageLayout controls. You can read about all the components in JDeveloper's help.
    The messageLayout control lays out a prompt, indexed children, end child, tip, and inline message (error message that displays below the choice, for example). Typically, the only indexed child of this bean will be a form element of some sort, but as many children as necessary can be added.
    The prompt can have an icon associated with the type of message. The bean's destination is attached to the icon to link to further information. It is also possible to indicate that user input is required.
    Clients can also add an "end" named child which will be rendered after the indexed children.
    To lay out multiple messageLayout beans the messageComponentLayout bean should be used. When messageLayout beans are placed inside a tableLayout or labeledFieldLayout the prompts will line up.
    Jeanne

  • Regarding communication between JSF and applet.

    Hi all,
    I have to send a array of int value from JSF to the applet method and vice versa,
    so how can I do that?
    Is there any straight forward way is there?
    Or I need to use javascript in between applet and JSF for communicating.
    If this is case can give some links so that I can go through it.
    What I need is, I have jsf table(grid) when I select a row from table, for the selected row I have to display selected row ID in applet and vice versa.
    Any suggestion or links will be appreciated, thanks in advance.
    Thanks
    daya

    thanks and sorry for late reply, let me go through the link,
    i have tried with JavaScript, i got stuck, i need to call a JavaScript method for JSF component event listener. I searched in Google but no help regarding same.
    Actually what I need is, I have JSF Component i.e. GridView(Table) and applet in a page. And for each row selection in GridView(table) I need to call a javascript method (with column value), and vice versa.
    Can you give suggestion or any link so that can proceed further.
    and i am able to communicate between applet which are included in the page
    Thanks
    Daya

  • Working with frames and applets

    Hi, I am writing an applet that recieves information from a sever. before the applet loads I display a frame that allows the user to select the information that is transfered across the net.
    I block the applet from finishing until the okay button is clicked on the frame. However if I don't add my frame to the applet I can't manipulate the frame, and the frame doesn't recognize any mouse events
    When i do add the frame to the applet, the checkboxes work and the button toggles, but the click doesn't do anything.
    Finally the program works while using the applet viewer but it doesn't work across the net. Any information any one has would be greatly appreciated.

    here is the code of the frame that doesn't work
    import java.awt.*;
    import java.awt.event.*;
    public class channelSelect extends Frame implements ActionListener
    {/*This class alows the user to pick from a number of channels to be transfered
    across an internet connection*/
    private int channels = 8; //the total number of channels
    private Checkbox[] checkbox = new Checkbox[channels]; //an array of checkboxes
    private Button button1 = new Button(); //the button to signify the user has choosen the channels
    private int[] c = new int[channels]; //an array to determine which checkboxes were checked
    private boolean done = false; //a flag to tell the base class if the user is finished
    public channelSelect()
    try
    jbInit();
    catch(Exception e)
    e.printStackTrace();
    public int[] obtainChannels()
    {//returns the array of choosen channels
    return c;
    public int isDone()
    {//returns if the user is finsihed
    if(done)
    return 1;
    else
    return 0;
    private void jbInit() throws Exception
    {//sets the layout for the frame
    this.setLayout(null);
    this.setTitle("Select Channels");
    for(int j = 0; j < channels; j++)
    checkbox[j] = new Checkbox();
    checkbox[0].setBackground(new java.awt.Color(0, 200, 250));
    checkbox[0].setBounds(new Rectangle(64, 55, 198, 20));
    checkbox[0].setLabel("sinwave");
    checkbox[1].setBackground(new java.awt.Color(0, 200, 250));
    checkbox[1].setBounds(new Rectangle(64, 133, 198, 20));
    checkbox[1].setLabel("squarewave");
    checkbox[2].setBackground(new java.awt.Color(0, 200, 250));
    checkbox[2].setBounds(new Rectangle(64, 211, 142, 30));
    checkbox[2].setLabel("coolant temp");
    checkbox[3].setBackground(new java.awt.Color(0, 200, 250));
    checkbox[3].setBounds(new Rectangle(64, 289, 198, 20));
    checkbox[3].setLabel("No signal1");
    checkbox[4].setBackground(new java.awt.Color(0, 200, 250));
    checkbox[4].setBounds(new Rectangle(356, 55, 198, 20));
    checkbox[4].setLabel("No signal2");
    checkbox[5].setBackground(new java.awt.Color(0, 200, 250));
    checkbox[5].setBounds(new Rectangle(356, 133, 198, 20));
    checkbox[5].setLabel("No signal3");
    checkbox[6].setBackground(new java.awt.Color(0, 200, 250));
    checkbox[6].setBounds(new Rectangle(356, 211, 198, 20));
    checkbox[6].setLabel("No signal4");
    checkbox[7].setBackground(new java.awt.Color(0, 200, 250));
    checkbox[7].setBounds(new Rectangle(356, 289, 198, 20));
    checkbox[7].setLabel("No signal5");
    this.setBackground(new java.awt.Color(0, 200, 250));
    button1.setBounds(new Rectangle(235, 477, 98, 30));
    button1.setLabel("OK");
    button1.addActionListener(this);//new java.awt.event.ActionListener()
    public void actionPerformed(ActionEvent e)
    button1_actionPerformed(e);
    */ this.add(checkbox[0], null);
    this.add(checkbox[5], null);
    this.add(checkbox[6], null);
    this.add(checkbox[1], null);
    this.add(checkbox[7], null);
    this.add(checkbox[2], null);
    this.add(checkbox[3], null);
    this.add(checkbox[4], null);
    this.add(button1, null);
    this.setSize(610,527);
    this.setVisible(true);
    this.toFront();
    public void actionPerformed(ActionEvent e)
    {//populates the array of choosen channels
    Object source = e.getSource();
    if(source == button1)
    for(int i = 0; i < channels; i++)
    if(checkbox.getState())
    c[i] = 1;
    else
    c[i] = 0;
    done = true;
    and this is where i instantiate it and call some of it's methods.
    /* Setup channel selections */
    channel_select = new channelSelect();
    while(channel_select.isDone() == 0)
    { //wait for the channel selection to occur
    channels = channel_select.obtainChannels();
    channel_select.dispose();
    channel_select = null;
    setChannels();

  • Diference between close() and dispose()

    in Java Swings we had two methods to close a JFrame, i.e frame.dispose() and frame.hide() / or frame.setVisible(false).
    But in FX, we have a single methos to close the stage which is : Stage.close() and it is equivalent to hide().
    So does that mean, on calling stage.close(), the memory and the resources allocated to the stage remain intact and the stage is only vanished from the screen?
    Does that further imply, FX doesnt have any method to comple 'dispose' of the stage as in swings?
    please reply
    Edited by: 949779 on Jul 30, 2012 6:17 AM

    The docs donot say anything about the resource management done by Stages. Comparing it with Swing is useless since they're completely different.
    The reason for dispose() in Swing was that even when your code does not refer to a JFrame anymore, there are still native resources which refer to the JFrame which will keep it from being garbage collected. Dispose() releases those resources.
    In JavaFX the distinction between close and dispose is probably no longer needed because using weak refs they can track when the Stage is no longer referenced anymore and then release all resources associated with it (if it works that way at all).
    So, close() would 'hide' the Stage, and when it gets garbage collected an automatic 'dispose' occurs. If Stages needed any further special treatment I would expect a mention in the docs.

  • Diference between RAC and Grid

    I have 9i r2 RAC.
    What is the diference between 10G RAC and 10g Grid?
    What are my options to migrate?
    What are the advantages and disadvantages between migrating to 10g RAC or migrating to 10g Grid?

    A lot of the differences are cosmetic. Parallel server in 8i became RAC in 9i became Grid in 10g. There is no such thing as 9i Parallel Server, nor is there such a thing as 10g RAC, at least from a marketing standpoint. Once you understand that, the major differences are incremental-- 10g is probably more maintainable and easier to set up than 9i, 10g is probably more scalable as well.
    Migration is just a database upgrade. The upgrade guide will enumerate your options.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Gap between frame and lcd (X220)

    I just received my x220 today, however I found there are gaps between the frame and the lcd.
    1mm for the left side
    2mm for the right side
    Is it normal?
    Link to picture
    Link to picture
    Link to picture
    Link to picture
    right
    Link to picture
    Link to picture
    Link to picture
    Link to picture
    excellent built quality!
    Link to picture
    Link to picture
    the left side is okay, since it's just 1mm, but the right side is really unacceptable (2mm), it is very annoying
    Can I ask for an exchange?
    Thanks
    Moderator note; picture(s) totalling >50K converted to link(s) Forum Rules

    I never noticed it before, but yeah it has a larger gap on the right side than on the left...
    But hey, I look at the screen not at the gap. I'm happy to have an anti-glare IPS screen.
    | X220 i7-2620M | 12.5" IPS | Intel 520 Series 180GB Main SSD | Mushkin 120GB mSATA SSD | 8GB RAM | Intel 6205 WiFi | BT | Win7 Pro 64 SP1 |

  • Diference between Consolidate and consolidate all with data

    I would like to get clarified on the differences between "Consolidate" and "Consolidate All" option in HFM while performing a consolidation.

    Consolidate finds only the part of the data that is impacted by changes and performs all calculation, translation and consolidation rules for only that part of data.
    Consolidate All on the other hand calculates everything even if there are no underlying changes
    Consolidate All With Data performs as the Consolidate All it skips entities that have no data inputted though

  • Oo diference between delpi and Java.

    I want to know what the oo differences are between java and delphi. I always thought delphi was a old not very advanced language, but I found out it supports encapsulation, inheritance, polymorfism and even interfaces.

    What OO differences are you concerned about, specifically?
    I've been away from Pascal since the '80s, so I don't know much about Delphi.
    Regardless, I would look into the following OO feature comparison (off the top of my head):
    - Multiple inheritance
    - Inner classes
    - Interfaces
    - Name Spaces
    - Type Safety
    - Garbage Collection / Memory Management
    - Reflection

Maybe you are looking for

  • My iPod touch 4g will charge but is not recognized by computer

    I have done everything I know to do. My iPod touch 4g will charge from my computer but will not sync and is not recognized by the computer. I have tried it on 4 different computers and my brothers iPod touch 3G works and so does our iPad 2 but someth

  • Macbook pro 13 Inch getting Kernel panic after Mountain lion upgrade

    Hey I reccently upgrade to mountain lion and now i am getting kernel panic well in saferi ( Just watch movies and stuff on youtube) This hasnt happen before i upgrade to mountain lion. I have upgrade my ram to 16gb and replace the Superdrive with the

  • Desktop icons and window commands

    I've had my MacBook Pro since August...having been on Windows for 12 years. I've done a lot of reading and am slowly getting used to it. I vaguely remember reading somewhere that putting icons on the desktop is something Apple discourages. Is that tr

  • Black spot on camera and pictures after Denim upda...

    Hi Yesterday I have finaly updated my Lumia 930 with the Denim software.. Today I notice a black spot on the right side of my camera screen. Then I took a picture and the spot is seen on the pictures too.. I have cleaned up the lenses and I can confi

  • Unable to open the auth web of the ISE when pushing CA to Android phones

    Hi GUYS, I have got a problem when pushing CA to Android phones from Win 2008, i have already connected to my SSID and got the IP, then i open my browser and enter http://1.1.1.1, the web is redirected to the Device Self-regist like https://ip:port/g