How to make a JApplet run in a Browser

HI ALL:
Can anyone tell me how to make a JApplet run in a IE.
I am using JComponents and Visibroker for JAVA ORB for connecting to another ORB's which would in-turn connect to a C++ Server and finally to the SQL Server.
I am getting a NoclassFoundException whenever I am running my JApplet.
My code is >>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<html>
<head>
<meta http-equiv="Content-type" Content="text/html;charset=iso-8859-1">
<title>
ORB ISSUE TRACKING SYSTEM
</title>
</head>
<body>
<Applet
     CODE="file://D:/IssueTrackingSystem/IssueTrackingSystem.class"
     Width=700
     Height=700
     Align=middle
>
<param name="CABBASE" value="IssueTest.cab">
</Applet>
</Body>
</Html>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
The Cabase file is a winzip file having all the ORB's compliant classes and my source classes to interact with the ORB Server.
Help is urgent.
Regards
Ritesh

I have been having exactly the same problems but I was using JDK 1.2.
I discovred the problem could be resolved by using the Plug-in on navigaor or IE and bingo it was perfect.
I also discovered that using the AppletViwer would allow me to see the applet. Then I upgraded to JDK1.3 or 2 or whatever it is and nothing.
I recompiled the classes using the !.3 still nothing. The applet vewer don't work and the plug in don't work.
I tried to recompile using the oldjavac ( I assume 1.2) and nothing I do will make this JApplet run. Ordinary a�pplets are OK. Applications with swing are OK, but JAPPLets are dead
I have come to the conclusion SUN has screwed up big time and are frantically scrabbling about looking for a fix. I have reveert to javascript/DHTML as this is both consistent and stable and for considerably less effort and aggravation you can get 90% of the functioonality.

Similar Messages

  • How to make my applet run in eclipse browser..?

    I wrote an applet and it works fine when it is run as an applet in eclipse galileo.I need to embed it in a web page.I have searched this forum but unable to find adequate information.It is also not reporting any errors.Html file looks as below
    <html>
    <head>
    <title>Echo Applet</title>
    </head>
    <body><h1>This is an example of applet</h1>
    <applet code=com.mypackage.EchoApplet.class width="400" height="400"></applet>
    </body>
    </html>Directory structure is as below
    MyFirstApplet
           ->Java Resources:src
                 ->com.mypackage
                          ->EchoApplet.java
                 ->Libraries
          ->WebContent
                ->META-IMF
                          ->MANIFEST.MF
                ->WEB-INF  
                          ->lib
                          ->web.xml
                ->MyFirstApplet.htmlConsole of html file shows as below
    26 Aug, 2009 8:09:04 AM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8084
    26 Aug, 2009 8:09:04 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 2036 ms
    26 Aug, 2009 8:09:04 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    26 Aug, 2009 8:09:04 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0.25
    26 Aug, 2009 8:09:04 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    26 Aug, 2009 8:09:06 AM org.apache.catalina.core.StandardHost getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx )
    26 Aug, 2009 8:09:06 AM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8084
    26 Aug, 2009 8:09:06 AM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8085
    26 Aug, 2009 8:09:06 AM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/53  config=null
    26 Aug, 2009 8:09:06 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 1992 msany clue of where i might have gone wrong??Thanks in advance..!

    hello,
    the very first thing is the html console always look the one which you have posted here.it tells that server is started.
    directory structure is also ok.
    wi think the problem lies in the html file.After defining applet class you have to specify the jar file of your appletin the mannerarchive = "yourapplet.jar" have you any libraries with your applet? if yes then you have to include it in archive information
    i would like to know when you run this application does internet explorer opens if yes then can you tell me the error it is giving

  • How to make a job run on a appointed node

    I have a problem. The database is Oracle 10g, RAC, two nodes
    There are some job which run on everyday night. Now, something happened, the job run on Node A can't work as normal, but if run on node B, It will work well.
    so I just want to submit the jobs on Node B, I submited the jobs on Node B, but the jobs always run on Node A.
    I want to know how to make a job run on a appointed node.

    the Job just transfer some procedure to add partitions for some table, to merge the records from some tables to one table and so on.
    the problem is when the job run on Node A, it is very very slow, the procedure would run hours and not success end, but if on Node B it will successfully end in seconds.
    restart the Node A would be a way for the problem, but may it will leave a hidden trouble. I want save the scene to find out the problem
    so can you help me

  • How to make a loop run for specific period of time ?

    hello !
    i'm new to labview and could'nt found how to make a loop run for 2 sec for example, and then to exit.
    Solved!
    Go to Solution.

    Hi Hookso,
    You can do it using the different loops like While loop and For Loop. Roderic has already stated how to do it using a for loop. I have illustrated in the attached vi how to do it using a while loop and Elapsed Time function. Take a look.
    Regards,
    Nitzz
    (Give kudos to good Answers and Mark it as a Solution if your problem is Solved) 
    Attachments:
    Untitled 2.vi ‏36 KB

  • How to make tomcat still running after reboot

    hi all,
    i want ask about how to make tomcat still running after our computer reboot.
    so our server still can serve the the request without we start manualy the tomcat.
    please replies
    thank's before

    *nix or win32 or other?                                                                                                                                                                                                                                           

  • How to make Attribute Change run alignment & Hierarchy changes in Aggregat

    Hello
    I want to understand that How to make Attribute Change run alignment & Hierarchy changes in Aggregate?
    I posted previously the same question but there were not good answers and i was not able to understand clearly .....
    If there is Process chain XXY which makes Attribute change run for Master Data 0SPELLING ?
    Now there is Aggregate TRT which includes :
    0SPELLING , Fiscal Period , Purchase Product, Purchase Category ?
    Now pls answer following question ?
    1) Does the Process Chain XXY which makes only attribute change run alignment for 0SPELLING , Will this process chain automatically do the Change run alignment for 0SPELLING in Aggregate TRT ? YES or NO
    2) If Yes, then we are just suppose to do Roll up for Aggregate TRT after Process chian XXY completes and finish job ?
    3) If No, then what steps are suppose to be DONE so as to make sure that Aggregate TRT has new values and perfect values for 0SPELLING ?
    Please answer and coorect if i have any wrong question....

    for e.g.
    u have 0spelling whicha has attributes x,y and z on day 1 with 10 records
    so do ur aggregates on day1 with same values
    now on day2 u had new values of attributes y,z,s,d and new hierarchies and so u add new records
    with data load u will load the data with version M of modified and is not available for reporting
    If u do attribute change run then this modified version is activated to A i.e. active version .
    It will also do the change run alignment for Aggregate for new attribute values and new hierarchy values for aggregate.
    now in order for this data to be available for reporting u will need to do the roll up of aggregate.....
    if u roll up aggregate before attribute change run , new data is not avaialable for reporting
    if u roll up aggregate after attribute change run, then data is available for reporting
    if u dont roll up aggregate eventhough new data is in dataprovider, still new data will not be available for reporting.
    this is how it works

  • How to make Attribute Change run alignment & Hierarchy changes in Aggregate

    Hello
    I want to understand that How to make Attribute Change run alignment & Hierarchy changes in Aggregate?
    I posted previously the same question but there were not good answers and i was not able to understand clearly .....
    If there is Process chain XXY which makes Attribute change run for Master Data   0SPELLING ?
    Now there is Aggregate TRT which includes :
    0SPELLING , Fiscal Period , Purchase Product, Purchase Category ?
    Now pls answer following question ?
    1) Does the Process Chain XXY which makes only attribute change run alignment for 0SPELLING ,   Will this process chain automatically do the Change run alignment for 0SPELLING in Aggregate TRT ?         YES or NO
    2)  If Yes, then we are just suppose to do Roll up for Aggregate TRT after Process chian XXY  completes and finish job ?
    3) If No, then what steps are suppose to be DONE so as to make sure that  Aggregate TRT has new values and perfect values for  0SPELLING ?
    Please answer and coorect if i have any wrong question....

    for e.g.
    u have 0spelling whicha has attributes x,y and z on day 1 with 10 records
    so do ur aggregates on day1 with same values
    now on day2 u had new values of attributes y,z,s,d and new hierarchies and so u add new records
    with data load u will load the data with version M of modified and is not available for reporting
    If u do attribute change run then this modified version is activated to A i.e. active version .
    It will also do the change run alignment for Aggregate for new attribute values and new hierarchy values for aggregate.
    now in order for this data to be available for reporting u will need to do the roll up of aggregate.....
    if u roll up aggregate before attribute change run , new data is not avaialable for reporting
    if u roll up aggregate after attribute change run, then data is available for reporting
    if u dont roll up aggregate eventhough new data is in dataprovider, still new data will not be available for reporting.
    this is how it works

  • How to make keynote presentation run automatically

    how to make keynote presentation run automatically

    Keynote can enter play mode when the file is opened:
    Inspector > Document > Automatically play on opening

  • How to make mac desktop run faster . It is starting to freeze up in Safari sometimes.

    How to make IMAC desktop run faster.

    Mavericks is the Operating System, while you could call it a program it's the OS. We need to know:
    what year iMac you have including the amount of RAM installed, the capacity of the internal HD and how much is stored on it and under what conditions the computer runs slowly. Please CAREFULLY read Help us to help you on these forums

  • How to make this example run on IE ?

    for example below :
    * LunarPhasesRB.java requires the following files:
    *    images/image0.jpg
    *    images/image1.jpg
    *    images/image2.jpg
    *    images/image3.jpg
    *    images/image4.jpg
    *    images/image5.jpg
    *    images/image6.jpg
    *    images/image7.jpg
    * It is a modified version of LunarPhases.java that
    * uses radio buttons instead of a combo box.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.net.URL;
    public class LunarPhasesRB implements ActionListener {
        final static int NUM_IMAGES = 8;
        final static int START_INDEX = 3;
        ImageIcon[] images = new ImageIcon[NUM_IMAGES];
        JPanel mainPanel, selectPanel, displayPanel;
        JLabel phaseIconLabel = null;
        public LunarPhasesRB() {
            //Create the phase selection and display panels.
            selectPanel = new JPanel();
            displayPanel = new JPanel();
            //Add various widgets to the sub panels.
            addWidgets();
            //Create the main panel to contain the two sub panels.
            mainPanel = new JPanel();
            mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.PAGE_AXIS));
            mainPanel.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
            //Add the select and display panels to the main panel.
            mainPanel.add(selectPanel);
            mainPanel.add(displayPanel);
         * Get the images and set up the widgets.
        private void addWidgets() {
             * Create a label for displaying the moon phase images and
             * put a border around it.
            phaseIconLabel = new JLabel();
            phaseIconLabel.setHorizontalAlignment(JLabel.CENTER);
            phaseIconLabel.setVerticalAlignment(JLabel.CENTER);
            phaseIconLabel.setVerticalTextPosition(JLabel.CENTER);
            phaseIconLabel.setHorizontalTextPosition(JLabel.CENTER);
            phaseIconLabel.setBorder(BorderFactory.createCompoundBorder(
                BorderFactory.createLoweredBevelBorder(),
                BorderFactory.createEmptyBorder(5,5,5,5)));
            phaseIconLabel.setBorder(BorderFactory.createCompoundBorder(
                BorderFactory.createEmptyBorder(0,0,10,0),
                phaseIconLabel.getBorder()));
         //Create radio buttons with lunar phase choices.
         JRadioButton newButton = new JRadioButton("New");
         newButton.setActionCommand("0");
         newButton.setSelected(true);
         JRadioButton waxingCrescentButton =  new JRadioButton("Waxing Crescent");
         waxingCrescentButton.setActionCommand("1");
         JRadioButton firstQuarterButton = new JRadioButton("First Quarter");
         firstQuarterButton.setActionCommand("2");
         JRadioButton waxingGibbousButton = new JRadioButton("Waxing Gibbous");
         waxingGibbousButton.setActionCommand("3");
         JRadioButton fullButton = new JRadioButton("Full");
         fullButton.setActionCommand("4");
         JRadioButton waningGibbousButton = new JRadioButton("Waning Gibbous");
         waningGibbousButton.setActionCommand("5");
         JRadioButton thirdQuarterButton = new JRadioButton("Third Quarter");
         thirdQuarterButton.setActionCommand("6");
         JRadioButton waningCrescentButton = new JRadioButton("Waning Crescent");
         waningCrescentButton.setActionCommand("7");
         // Create a button group and add the radio buttons.
         ButtonGroup group = new ButtonGroup();
         group.add(newButton);
         group.add(waxingCrescentButton);
         group.add(firstQuarterButton);
         group.add(waxingGibbousButton);
         group.add(fullButton);
         group.add(waningGibbousButton);
         group.add(thirdQuarterButton);
         group.add(waningCrescentButton);
            // Display the first image.
            phaseIconLabel.setIcon(new ImageIcon("images/image0.jpg"));
            phaseIconLabel.setText("");
           //Make the radio buttons appear in a center-aligned column.
            selectPanel.setLayout(new BoxLayout(selectPanel, BoxLayout.PAGE_AXIS));
           selectPanel.setAlignmentX(Component.CENTER_ALIGNMENT);
            //Add a border around the select panel.
            selectPanel.setBorder(BorderFactory.createCompoundBorder(
                BorderFactory.createTitledBorder("Select Phase"),
                BorderFactory.createEmptyBorder(5,5,5,5)));
            //Add a border around the display panel.
            displayPanel.setBorder(BorderFactory.createCompoundBorder(
                BorderFactory.createTitledBorder("Display Phase"),
                BorderFactory.createEmptyBorder(5,5,5,5)));
            //Add image and moon phases radio buttons to select panel.
            displayPanel.add(phaseIconLabel);
           selectPanel.add(newButton);
           selectPanel.add(waxingCrescentButton);
           selectPanel.add(firstQuarterButton);
           selectPanel.add(waxingGibbousButton);
           selectPanel.add(fullButton);
           selectPanel.add(waningGibbousButton);
           selectPanel.add(thirdQuarterButton);
           selectPanel.add(waningCrescentButton);
            //Listen to events from the radio buttons.
           newButton.addActionListener(this);
           waxingCrescentButton.addActionListener(this);
           firstQuarterButton.addActionListener(this);
           waxingGibbousButton.addActionListener(this);
           fullButton.addActionListener(this);
           waningGibbousButton.addActionListener(this);
           thirdQuarterButton.addActionListener(this);
           waningCrescentButton.addActionListener(this);
        // Load the selected image (lazy image loading).
        public void actionPerformed(ActionEvent event) {
           phaseIconLabel.setIcon(new ImageIcon("images/image"
                                  + event.getActionCommand()
                                  + ".jpg"));
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
        private static void createAndShowGUI() {
            //Create a new instance of LunarPhasesRB.
            LunarPhasesRB phases = new LunarPhasesRB();
            //Create and set up the window.
            JFrame lunarPhasesFrame = new JFrame("Lunar Phases");
            lunarPhasesFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            lunarPhasesFrame.setContentPane(phases.mainPanel);
            //Display the window.
            lunarPhasesFrame.pack();
            lunarPhasesFrame.setVisible(true);
        public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }i know run above example on command line while i don't how to make run on IE ?
    because mostly people are used to look at sth on IE ?
    so i think it's important to runs javacode on IE .
    who can help me ?
    thanks!

    If you want it to execute inside a web browser then you need to convert it to an applet. Alternatively you can investigate Java Web Start.

  • How to make my iMac run faster

    Hi there,
    I have a 2011 iMac which is hardly used.  I have upgraded the ram to 12 GB when I purchased it.  However, it takes ages for the computer to run, especially during start-up.
    Any thoughts on how to make it run faster?
    Cheers,
    Gary

    Make sure you installed the correct RAM. Installing the wrong type will cause the system to become unstable and slow.

  • Launchd: how to make a script run every weekday?

    I'm trying to make a script run every weekday as a LaunchAgent. Is there a way to do this like you could in cron?
    Here is the relevant portion of my LaunchAgent plist:
    <key>StartCalendarInterval</key>
    <dict>
    <key>Hour</key>
    <integer>9</integer>
    <key>Minute</key>
    <integer>0</integer>
    <key>Weekday</key>
    <integer>3</integer>
    </dict>
    I have tried changing the Weekday integer to 1-5 or 1,2,3,4,5 but neither worked. It only works with a single integer. Do I have to create 5 separate plists for each weekday?
    Any ideas?

    Thanks VK, for others who are looking to do something similar, here is the relevant part of the code to make the command run every day (since that field is missing) at 7:00pm and 7:01pm:
    <key>StartCalendarInterval</key>
    <array>
    <dict>
    <key>Hour</key>
    <integer>19</integer>
    <key>Minute</key>
    <integer>00</integer>
    </dict>
    <dict>
    <key>Hour</key>
    <integer>19</integer>
    <key>Minute</key>
    <integer>01</integer>
    </dict>
    </array>

  • How to make pdfs above 8MB open in browser?

    Pdfs whose size is below 8MB open in the browser while those above 8MB open in an Acrobat window. How to make pdfs irrespective of their size open in the browser window only?

    The setting you are looking for is located in Tools > Options > Applications. If setting it to using the in-browser plugin doesn't work, you will have to contact Adobe support at http://www.adobe.com/support/.
    '''Your Firefox version is several years old. It's no longer supported, and using it is a security risk.'''
    Please update to version 3.6.10 using '''Help''' > '''Check for updates''' menuitem, or by downloading the installer from http://getfirefox.com. Thank you.

  • How to remove black line running through my browser

    I recently upgraded to Firefox 4 and I now have this annoying black line running through my browser at the top.
    How can I get rid of it?
    [http://img821.imageshack.us/img821/7880/picturevef.jpg picture here]

    The only "Line Break"
    <br /> I see is at the end.
    Code formating just cleans the display of the visual code it doesn't effect the browser display.
    You can do a "Search and Replace" the <br /> with nothing. to strip all <br /> for the whole site or DIR or page.
    In code view right mouse click and choose
    "Search and Replace"
    Is this what your are asking help on?
    Shane

  • How to make a good balance in different  browser

    Tt is hard to make a perfet website in different browser,  many times it is beautiful in firefox , but ugly in IE. Do anyone have tips to make a balance in different browser?

    Browser variation is something we must all deal with.  For best results, begin projects with a clear idea of what type of layout you need (1-column, 2-column, 3-column or Multi-column grid).  Then get a CSS Layout that meets your requirements.
    PVII CSS Templates are rock solid & thoroughly tested to perform well in all browsers (commercial product)
    http://www.projectseven.com/products/index.htm
    CSS Layout Magic (commercial extension for Dreamweaver)
    http://www.projectseven.com/products/templates/pagepacks/cssmagic/index.htm
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

Maybe you are looking for

  • PS_TXN/PCOLL JBO-28005 Error

    I have a user called myUser and all my tables and data are created under this user. I have another user called myUser_web who has been granted select, update, insert and deletes on all the tables of myUser...yes even the PS_TXN and PCOLL_CONTROL tabl

  • Removing images from cover flow

    I haved added some album art to my iTunes library. This was for songs I had downloaded from my own CD library. Some images I found online, but for those I could not find I used iTunes command in the advanced menu – GET ALBUM ARTWORK. This resulted in

  • [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed

    Hi, I have installed ODBC driver to connect to MS SQL databas (2008) from oracle database 11gr1 on linux 64-bit. I have downloaded and installed as per the instructions on microsoft website: microsoft.com/en-us/download/details.aspx?id=28160 Afte thi

  • Oracle 8i Enterprise Edition and Enterprise Manager

    I installed oracle 8i release 3 (8.1.7) and the management tools, when i try to startup the ManagementServer Service sends me an error, and in the log file ( oms.nohup)says : OEMCTRL for Windows NT: Version 2.2.0.0.0 Copyright (c) 1998, 2000, Oracle

  • Mac Pro screen displays "No bootable device - insert boot disk"

    I was trying to install Windows 7 using boot camp and received the message that my hard disk drive had the wrong format.  I was able to eject the windows install disk, but now the only message I get is No bootable device - insert boot disk on a black