Cant load SwingApplet in IE5.0, works with appletviewer

hello again
I Can't load a SwingApplet in IE5.0, there are no problems with appletviewer.
with IE5.0 I get "class aaa.Bcd" not found - error, and the java-console shows this:
java.lang.ClassNotFoundException: javax.swing.JApplet
     at com/ms/vm/loader/URLClassLoader.loadClass
     at java/lang/ClassLoader.loadClassInternal
     at java/lang/ClassLoader.resolveClass
     at com/ms/vm/loader/URLClassLoader.loadClass
     at com/ms/vm/loader/URLClassLoader.loadClass
     at com/ms/applet/AppletPanel.processSentEvent
     at com/ms/applet/AppletPanel.processSentEvent
     at com/ms/applet/AppletPanel.run
     at java/lang/Thread.run
As awt.applets are displayed it seems that IE5.0 doesn't
know Swing !
So what is to do ?
So does it make sense to use swing in applets, assuming that not everybody has a swing-enabled browser, and ( like me ) does not know how to make the browse "swing"ing ?
Hanns
A

This is what the HTML file will look like after converting
the code using HTML converter.And the java plugin link
also specified in this , cut and paste the link and use it.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>Business Tool</title>
</head>
<body>
<h1>Business Tool</h1>
<!--"CONVERTED_APPLET"-->
<!-- HTML CONVERTER -->
<SCRIPT LANGUAGE="JavaScript"><!--
var info = navigator.userAgent; var ns = false; var _ns6 = false;
var ie = (info.indexOf("MSIE") > 0 && info.indexOf("Win") > 0 && info.indexOf("Windows 3.1") < 0);
//--></SCRIPT>
<COMMENT><SCRIPT LANGUAGE="JavaScript1.1"><!--
var ns = (navigator.appName.indexOf("Netscape") >= 0 && ((info.indexOf("Win") > 0 && info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0) || (_info.indexOf("AIX") > 0) || (_info.indexOf("OS/2") > 0)));
var ns6 = ((ns == true) && (_info.indexOf("Mozilla/5") >= 0));
//--></SCRIPT></COMMENT>
<SCRIPT LANGUAGE="JavaScript"><!--
if (_ie == true) document.writeln('<OBJECT classid="clsid:CAFEEFAC-0013-0001-0000-ABCDEFFEDCBA" WIDTH = 695 HEIGHT = 525 codebase="http://java.sun.com/products/plugin/1.3.1/jinstall-131-win32.cab#Version=1,3,1,0"><NOEMBED><XMP>');
else if (_ns == true && _ns6 == false) document.writeln('<EMBED type="application/x-java-applet;jpi-version=1.3.1"  CODE = CompTree CODEBASE = "." ARCHIVE = "TreeDemo.jar" WIDTH = 695 HEIGHT = 525  scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3.1/plugin-install.html"><NOEMBED><XMP>');
//--></SCRIPT>
<APPLET CODE = CompTree CODEBASE = "." ARCHIVE = "TreeDemo.jar" WIDTH = 795 HEIGHT = 525></XMP>
<PARAM NAME = CODE VALUE = CompTree >
<PARAM NAME = CODEBASE VALUE = "." >
<PARAM NAME = ARCHIVE VALUE = "TreeDemo.jar" >
<PARAM NAME="type" VALUE="application/x-java-applet;jpi-version=1.3.1">
<PARAM NAME="scriptable" VALUE="false">
</APPLET>
</NOEMBED></EMBED></OBJECT>
<!--
<APPLET CODE = CompTree CODEBASE = "." ARCHIVE = "TreeDemo.jar" WIDTH = 695 HEIGHT = 525>
</APPLET>
-->
<!--"END_CONVERTED_APPLET"-->
</body>
</html>
bye

Similar Messages

  • Hi, I have a late 2011 MacBook Pro but cant get the mirroring function to work with Apple TV.  I've got the most recent Software 10.7.5 but cant see the mirroring icon or turn this on.  I'm able to mirror from my Ipad but not my Mac, any thoughts?

    Hi, I have a late 2011 MacBook Pro but cant get the mirroring function to work with Apple TV.  I've got the most recent Software 10.7.5 but cant see the mirroring icon or turn this on.  I'm able to mirror from my Ipad but not my Mac, any thoughts?

    Welcome to the Apple Support Communities
    AirPlay Mirroring is supported on your Mac, but it needs OS X Mountain Lion (10.8). See > http://support.apple.com/kb/HT5404
    You have two possibilities:
    1. Make a backup, open App Store and purchase Mountain Lion to upgrade to this OS X. Then, you will find the AirPlay Mirroring icon at the top right of the display, on the menu bar, or on System Preferences > Displays.
    2. Keep OS X Lion and use AirParrot > http://www.airparrot.com
    Both options work properly, but I recommend AirPlay Mirroring as it doesn't need a third-party program

  • My iPad Mini with retina display suddenly will not connect to the Internet. It shows full wifi bars, yet no web pages will load. My Internet is working with all other apple devices in my house. The iPad also no longer works with celluar data.

    My iPad Mini with retina display suddenly will not connect to the Internet. It shows full wifi bars, yet no web pages will load. My Internet is working with all other apple devices in my house. The iPad also no longer works with celluar data. I'm not sure what has happened. It was working fine a few hours ago. I have tried resetting it, ive restarted my browser etc. I tried to erase all data from my Ipad but I can't do that because it needs to sign into my Apple ID and use the Internet!

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are drooping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Fix WiFi Issue for iOS 7
    http://ipadnerds.com/fix-wifi-issue-ios-7/
    iOS 6 Wifi Problems/Fixes
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    iPad: Issues connecting to Wi-Fi networks
    http://support.apple.com/kb/ts3304
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h Mt
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    10 Ways to Boost Your Wireless Signal
    http://www.pcmag.com/article2/0,2817,2372811,00.asp
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    Some Wi-Fi losses may stem from a problematic interaction between Wi-Fi and cellular data connections. Numerous users have found that turning off Cellular Data in Settings gets their Wi-Fi working again.
    You may have many apps open which can possibly cause the slowdown and possibly the loss of wifi. In iOS 4-6 double tap your Home button & at the bottom of the screen you will see the icons of all open apps. Close those you are not using by pressing on an icon until all icons wiggle - then tap the minus sign. For iOS 7 users, there’s an easy way to see which apps are open in order to close them. By double-tapping the home button on your iPhone or iPad, the new multitasking feature in iOS 7 shows full page previews of all your open apps. Simply scroll horizontally to see all your apps, and close the apps with a simple flick towards the top of the screen.
    Wi-Fi or Bluetooth settings grayed out or dim
    http://support.apple.com/kb/TS1559
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • HT1552 Im setting up a server with the port 25565 and im doing it with Port Map but the problwem is i cant seem to get it to work with my router. it goes through my macmini to the router and the expansion hardrive

    Im setting up a server with the port 25565 and im doing it with Port Map but the problwem is i cant seem to get it to work with my router. it goes through my macmini to the router and the expansion hardrive

    Im setting up a server with the port 25565 and im doing it with Port Map but the problwem is i cant seem to get it to work with my router. it goes through my macmini to the router and the expansion hardrive

  • TS3212 why cant i get my itunes to work with my windows 8 computer? i cant get either of my ipods to syhc

    why cant i get my itunes to work properly on windows 8

    Try going into the control panel, programs, add/remove programs
    Uninstall iTunes, apple mobile device service, apple application support
    Then go to apple and redownload and reinstall iTunes and try again.

  • Applet not working in browser, works with appletviewer

    Hi,
    I'm trying to use an Applet program from the tutorials which keeps on displaying time in the HTML page:
    import java.awt.Graphics;
    import java.util.*;
    import java.text.DateFormat;
    import java.applet.Applet;
    public class home_page extends Applet implements Runnable {
        private Thread clockThread = null;
        public void init()
        public void start() {
            if (clockThread == null) {
                clockThread = new Thread(this, "Clock");
                clockThread.start();
        public void run() {
            Thread myThread = Thread.currentThread();
            while (clockThread == myThread) {
                repaint();
                try {
                    Thread.sleep(1000);
                } catch (InterruptedException e){
                // the VM doesn't want us to sleep anymore,
                // so get back to work
        public void paint(Graphics g) {
            // get the time and convert it to a date
            Calendar cal = Calendar.getInstance();
            Date date = cal.getTime();
            // format it and display it
            DateFormat dateFormatter = DateFormat.getTimeInstance();
            g.drawString(dateFormatter.format(date), 5, 20);
        // overrides Applet's stop method, not Thread's
        public void stop() {
            clockThread = null;
    }When i use this program in the browser, i cannot see the clock but i'm able to see only a gray box. I'm using the applet tag within the HTML page.
    I can see the same compiled applet running successfully with appletviewer program.
    Please help me out of this predicament.
    -Manish

    I have recently had the same problem, after lots of searching, I found that only Java 1.1 is supported by browsers, leaving out everything else including swing. So if you cant play the applet through your browser you need to download the appropriate patch i think about 5mbs.
    You should find one at java.sun.com/getjava/download.html
    Mine worked fine afterwards

  • Midi synthesizer applet working with appletviewer , but no in IE browser

    Hi ,
    The following code works OK using appletviewer , but not working with IE browser . The user can play notes from C to G , using the corresponding keyboard keys (only when typing small A,B,C,D,E,F or G , a corresponding midi note would be produced) .
    When running it using appletviewer , the notes are being heard ;
    this isn't the case when running the applet using IE browser (after removing the security warning (of showing active content) - here , the applet simply doesn't respond to the key events .
    The code is :
    import java.awt.event.*;
    import javax.swing.*;
    import javax.sound.midi.*;
    public class RandomNotes extends JApplet implements KeyListener
         private MidiChannel midiChannel;
         private int note ;
         private long timeWhilePress;
         private long timeAfterPress;
         private int firstTime = 0;
         public void start()
              try
                   Synthesizer synthesizer = MidiSystem.getSynthesizer();
                      synthesizer.open();
                  midiChannel = synthesizer.getChannels()[0];
              catch(Exception ex)
                   ex.printStackTrace();
              addKeyListener(this);
         public void keyPressed(KeyEvent e)
              firstTime++;
              switch (e.getKeyChar())
                   case 'c':
                        note = 60;
                        break;
                   case 'd':
                        note = 62;
                        break;
                   case 'e':
                        note = 64;
                        break;
                   case 'f':
                        note = 65;
                        break;
                   case 'g':
                        note = 67;
                        break;
                   case 'a':
                        note = 69;
                        break;
                   case 'b':
                        note = 71;
                        break;
                   default:
                        note = -1;
                        break;
              timeWhilePress = System.currentTimeMillis();
              if (firstTime == 1)
                   midiChannel.noteOn(note, 127);
         public void keyReleased(KeyEvent e)
              timeAfterPress = System.currentTimeMillis();
             try
                   Thread.currentThread().sleep(timeAfterPress - timeWhilePress);
              catch (InterruptedException exception)
                   exception.printStackTrace();     
            midiChannel.noteOff(note);
            firstTime = 0;
         public void keyTyped(KeyEvent e)
    }Why it runs OK using appletviewer and not under IE browser , and how can I correct the problem please , so under IE browser , the applet should respond to key events ?
    Thanks in advance ,
    Lior .

    The problem is related to the Midi itself , not to the keyPressed event - I've just checked it :
    If I add a JOptionPane.showMessageDialog(null,"Lior"); statement
    as the first line of the keyPressed method ,
    then also when running the applet under IE browser , when clicking on any letter character (eg. "j") , I see the "Lior" message appears on screen . So the problem is not with the keyboard event handling , but something related to the Midi itself .
    If you don't mind , I should post this question also in the Java sound forum (unless this is considered a crosspost , then I'll not do that) .
    Thanks in advance ,
    Lior .

  • MacBook won't load Internet on wireless but works with ethernet

    My macbook wont load any web pages. It is connected to my wifi network and it says my Internet connection is good under my network settings. All my other devices on the network have no issues (ipad2, 2-iPhone 4's and 2-PS3s). Also when I connect my MacBook to my router with an Ethernet cable it loads any and all web pages instantly. I also tried installing Firefox thinking it may have been an issue with safari. No luck there. The issue was intermittent at first and would require I restart my computer/router and then issue would be corrected. Now the internet wont load any pages at all. I also tried zapping the PRAM, flushing the DNS cache, removing files from the system config folder under Library/Preferences/system configuration and a few other things I can't exactly remember. My MacBook is up to date, my routers firmware is up to date. I even tried tethering my MacBook to my iPhone via wireless Internet and still could not load any websites. Anyone have any other suggestions?

    Try this, might or might not work depending on the issue.
    Turn off your wifi.
    Go to your network preference, click on advance, the you will see the name of your network (router's name), delete that.
    Now try to detect it again with your MB's wifi.  You have to re enter your password if you have one.
    See if that solves your problem.

  • I cant get my Axiom 25 to work with my MacBook in Logic Pro 8. Anyone ?

    I have an M-Audio Axiom 25 and I cant get it to work in logic pro 8. Its plugged in... I have a new project open... I have an instrument assigned to a track...when I press the keys on the axiom Logic recognizes it because on the bottom of the window I see the note I'm pressing as well as it's velocity... This is exactly as I do on my roommate's MacBook Pro every day with the same keyboard... But none the less I don't get sound... even if i just click the piano roll... The levels for the track remain at zero all the time... Whereas on my roommate's computer I would be jamming... What is wrong??? PLEASE!!! SOMEONE HELP ME!!!
    O Yeah! I tried to download the latest drivers from M-Audio but there website just led to a dead end... And 10.5.1 was there latest version anyway... Can some send me a hyperlink to a location where I can actually download it from??? It would be greatly aprechiated...

    According to M-Audio's website you don't need a driver. If you click on the link that they have there this message pops up:
    'This device is class compliant and does not require driver support for OS X.'
    As for your other problem.....Dunno. Make sure you check the audio device preferences in Logic. Your roommates might be set for that piece but yours might not.
    Good Luck!

  • I cant get my apple remote to work with my video ipod...

    i cant get my apple remote i just bought to hook up with my ipod video! help!
    Windows    

    Which remote are we talking about, the infra red or the radio/remote?

  • Load Balancer virtual URL not working with analytics page

    We have configured Load Balancer virtual URL. But it is working for only iAS. We have Oracle Application Server 10.1.3
    Our OBIEE is 10.1.3.4.1
    Here is the virtual configuration
    Listen 7877
    +<VirtualHost default:7877>+
    +# General setup for the virtual host+
    DocumentRoot "/apps_base/obiee/ias/Apache/Apache/htdocs"
    ServerName uat.bi.company.com
    ServerAdmin [email protected]
    ErrorLog "|/apps_base/obiee/ias/Apache/Apache/bin/rotatelogs /apps_base/obiee/ias/Apache/Apache/logs/error_log 43200"
    TransferLog "|/apps_base/obiee/ias/Apache/Apache/bin/rotatelogs /apps_base/obiee/ias/Apache/Apache/logs/access_log 43200"
    Port 443
    +# SSL Engine Switch:+
    +# Enable/Disable SSL for this virtual host.+
    SSLEngine on
    https://uat.bi.company.com -> WORKS great
    https://uat.bi.company.com/em -> WORKS great
    https://uat.bi.company.com/analytics -> page cannot be displayed
    We have SSO configured. So i do get the SSO login page, but clicking on submit button, I get page cannot be displayed.
    Everything works if I disable the load balancer virtual.
    THe Load Balancer is configured to listen on 443 and then routes to 7877 on the physical server coorldas04.company.com
    Can you assist in this one ??

    Is this still a problem?

  • I cant get ant video downloader to work with firefox 9.0

    i have a droid x2. i have 9.0 firefox on it ant when i attempt to download ant video downloader it says 9.0 doesnt support it. please help me. [email protected]

    try to upgrade to latest Firefox Mobile. Let us know how that works.

  • Can't get BT speedtester to work with Infinity.

    Hi, I cant get the speed tester to work with Infinity, keep getting a error message saying,
    Test Message
    "The Performance Tester is currently unable to run a speed test for your broadband connection. Please try again shortly, however if this problem persists, raise the issue with your service provider". Anybody have a solution to this problem. Ps I have had Infinity for 11 days.

    I'm not sure if it works on Infinity but I'd of thought it would
    Try http://217.32.105.42/
    Any good?
    -+-No longer a forum member-+-

  • I can'nt get skipe to work tells me invaled port how do i get it to work with firefox

    when i use my firefox i cant seem to get skipe to work with it and it tells me invaled port so please help me fix this.

    Hi rockerbelsatx, could you clarify which platform you want to run Firefox on? You posted from an iPad, but there is no version of Firefox for iOS devices, only "Firefox Home." Also, as far as I know, there is no paid version of Firefox for any platform.
    More information on Firefox offerings: http://www.mozilla.org/firefox
    With a little more info, we probably can be more helpful.

  • HP Simple Pass not working with fingerprint snanner

    I have just purchased a new laptop namely the HP Envy 17. One of the primary reasons for me aquiring this product as apposed to other similar products was due to the built in fingerprint scanner. You can imgine my disbelief when i now discover that the windows version 8.1 pre-loaded on this unit doesnt work with the scanner or the built in scanner sofeware HP Simple Pass.
    Can anyone assist with a simple fix as this has really blurred my perception of HP products as a whole.
    Thanks

    Hello @BJordaan,
    Welcome to the HP Forums.
    It appears that the HP Simplepass isn't working correctly for you. I will try to assist you with this.
    Start by making sure all updates have been completed on the notebook.
    After that try this document: Troubleshooting a Fingerprint Reader (Windows 8).
    I will also provide this document: Using HP SimplePass Fingerprint Reader (Windows 8).
    Let me know how this goes.
    Thank you for posting on the HP Forums.
    I worked on behalf of HP.

Maybe you are looking for

  • K8N Neo4 and Memory

    Hi.  I'm running 32-bit XP Pro and I need more memory but my K8N Neo4 is fully populated with 4 x PC2700 512Mb dimms.  I'm planning to buy 2 x 1Gb PC2700 dimms and use two of the existing 512Mb dimms.  I've looked at the manual for my m/b and it leav

  • Macbook Pro Mid 2010 keeps on crashing after update

    I updated my macbook pro mid 2010 and now it randomly crashes! Any help is appreciated. Thank you Anonymous UUID:       D4BFA1B4-3FC3-CB21-4ABA-A50D9CE38F8D Tue Jan 14 14:38:42 2014 panic(cpu 0 caller 0xffffff7f9e5fffac): "GPU Panic: [<None>] 5 3 7f

  • How to handle finished goods without PP module

    Hi I am a MM consultant and i have been placed in an implementation project where there is no PP module. But client wants to dispatch Finished goods without BOM and PP module but it needs to be captured through MM module. Request your help and how to

  • I have a library in CC, how do I open it in CS5. Under Window I don't see any 'library'

    I just installed CC. I need to open a library in CS5. I don't see 'library' under window menu.

  • Valid SOAP response

    Hi All, I have a problem with a webservice response. I need to invoke a webservice (binary implementation is different) that is located in two seperate servers (binary implementation is different). Each webservice has the same interface for both the