Applet is not opened

Hi
Applet is not opened in oracle application...plz give some idea to fix it
Thanks

user11084555,
as bigdelboy also points out, getting help from the community is a two way communication thing. you do not respond to any of the questions you've asked before. this means people will not be very keen on helping you.
please respond to questions which are asked in response, and give helpfull and/or correct answer points, and ultimately when an issue is resolved flag it accordingly.
besides that, this question too has way to little information for the community to be able to diagnose your problem and fix it.

Similar Messages

  • Help with applet page not opening please

    Hi I hope somebody can help. I downloaded the Java Plug in 1.4.2_05 but the applet for my offshore bank account applet will not open - just a blank grey page appears.
    I went to the test applet page and the following note came up. "You are using an older version of Java Technology 1.1.4"
    I can see the dancing Duke logo.
    I followed the instructions to download the latest version again and up pops a window saying that we have the latest version. I went through the FAQ page - also checked all the setting were correct. I have the coffee cup Logo. I can see the plugin control panel, also the Java website control panel. The draw4 and note pad applications open up.
    I need to know why the banking applet will not load.
    We are running Windows Explorer 6
    Thanks
    Michele

    Hi there,
    Your IE is using hte Microsoft IE JVM plugin, you'll need to install Sun's plugin for IE. Installing the JDK/JRE fresh usually gives you an option of what browsers to install the plugin to.
    Hope that helps!
    Karianna

  • Applet is not opening in jsp

    Hi,
    I am using an applet in my application, which creates charts. But its not opening, its giving exceptions.
    I create jar using jar cvf command.
    After that i aslo sign and verify this jar using jar signer.
    My jsp and this jar file are in the same directory.
    This is the code which is in my jsp for applet.
    <object
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    type="application/x-java-applet;version=1.5">
    <param name="type" value="application/x-java-applet;version=1.5">
    <param name="code" value="com.timer.AppletGenerator.class">
    <param name="codebase" value=".">
    <param name="ARCHIVE" value="PerfMonGUIApplet.jar, jcommon-1.0.0.jar, jfreechart-1.0.0.jar, log4j-1.2.13.jar, itext-1.3.1.jar">
    <param name="strStartTime" value = "<%= strStartTime %>" >
    <param name="strEndTime" value = "<%= strEndTime %>" >
    <param name="GraphPerfMon" value = "<%= strPerfMonPoint %>" >
    <param name="strDateSelected" value = "<%= strDateSelected %>" >
    <param name="ContextPath" value = "<%= strContextPath %>" >
    <param name="strAppServerIPAddress" value = "<%= strAppServerIPAddress %>" >
    <param name="strAppServerPort" value = "<%= strAppServerPort %>" >
    <embed width="720"
    height="500"
    type="application/x-java-applet;version=1.5"
    code="com.timer.AppletGenerator.class"
    codebase="."
    ARCHIVE='PerfMonGUIApplet.jar, jcommon-1.0.0.jar, jfreechart-1.0.0.jar, log4j-1.2.13.jar, itext-1.3.1.jar'
    strStartTime = "<%= strStartTime %>"
    strEndTime = "<%= strEndTime %>"
    GraphPerfMon = "<%= strPerfMonPoint %>"
    strDateSelected = "<%= strDateSelected %>"
    ContextPath = "<%= strContextPath %>"
    strAppServerIPAddress = "<%= strAppServerIPAddress %>"
    strAppServerPort = "<%= strAppServerPort %>">
    </embed>
    </object>
    But its giving exception:
    load: class com.timer.AppletGenerator.class not found.
    java.lang.ClassNotFoundException: com.timer.AppletGenerator.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    please help me out.
    Thanks.

    Look at this part of the stack trace:
    Caused by: java.io.IOException: open HTTP connection failed.It looks like you can't connect to the server.
    Rather than looking at the JSP source, look at the HTML source that your browser is dealing with. My guess is that HTML is wrong, with values that point to a server that doesn't exist, or something. Are you sure you're running this page on an environment that can deal with JSPs? Are you sure that's a valid JSP? Maybe that "strAppServerIPAddress" value isn't expanding.

  • Java applet windows not opening in website

    User is running Windows 7 Pro 64-bit with IE10. She connects to a secure government website and logs into it. Once logged in, she clicks a link which opens a small popup IE window. A short time later, a couple of other small popup windows are supposed to
    open which are not IE windows but apparently java windows as the icon on the taskbar is the java icon and not the IE icon as for the main window and the first popup window. One of the java popup windows has links to click on to view various reports.
    This user was having no problem performing the above. Then her PC had Office 2013 installed and she says some other updates though she has no idea what (I know IE was not updated). Since then, the java popup windows do not open, only the first IE popup window
    opens.
    She can go to other Windows 7 Pro computers with IE10 and has no problem with the site and the popup windows. She can also use an XP system with IE8 and has no problem.
    I have disabled the popup blocker (though I was sure that wasn't the problem), installed JRE6u45 since she already had JRE7u45. I've tried to match her security and advanced settings to another PC. I've done a complete IE reset. None of these things have
    worked.
    I've never run into this type of problem before. I don't know if the problem is in IE or in Java or somewhere else. I'm really stumped on this one and I would appreciate suggestions as to where to look for the cause of this.
    Jonathan

    Hi Jonathan,
    You could try to deselect the “Automatically Detect Settings” to check how it works.
    And enable the scripting of Java applets settings:
    1. Click "Tools" --> "Internet Options" 
    2. Next, select the Security Tab, and select the "Custom Level" button
    3. Scroll down to "Scripting of Java applets"
    4. Make sure the "Enable" radio button is checked.
    5. Click OK to save your preference.
    Or you could try to change the settings in group editor (win + R --> Run --> gpedit.msc --> ok):
    Computer Configuration\Administrative Templates\Windows Components\Internet Explorer\Internet Control Panel\Security Page\Internet Zone\Java Permissions
    Please also try to reinstall Java.
    http://www.java.com/en/download/manual.jsp
    In addition, I would like to suggest you try to use compatibility mode (go to tools --> Compatibility View Settings) to check the issue.
    Meanwhile, I suggest you could reset the Internet Explorer to see if the issue persists.
    http://support.microsoft.com/kb/923737
    Please understand that reset Internet Explorer to its default configuration. This step will also disable any add-ons, plug-ins, or toolbars that are installed.
    If the issue still occurs, I suggest you use process monitor to identify what is working/not working/identify what is blocking the use of Java/Java applets.
    For your reference, you can download Process Monitor from the link below:
    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
    Hope it helps.
    Regards,
    Blair Deng
    Blair Deng
    TechNet Community Support

  • Applet windows page not opened

    Hi
    In oracle application 11i , when i click the system->define.. applet windows page not opened.. please give possible solution to clear the issue...
    Regards

    Hi,
    when i click the system->define.. applet windows page not openedPlease mention more details about the navigation path.
    please give possible solution to clear the issue.Please see this thread.
    applet page not open in linux
    applet page not open in linux
    Regards,
    Hussein

  • File Upload applet not opening in Query Mode

    File Upload Applet is opening in Query Mode in Siebel 7.5, where as in Siebel 7.8 its not opening in Query Mode.
    Should anything be changed in CFG? or siebel restricted this?

    Hi,
    There is a property called "Auto Query Mode" in the applet. Check whether this has been set to "New Query" in 7.5. If so the applet will be opening in Query Mode automatically. If this property is blank, in 7.8, the applet will not be opening in Query mode. Check and let me know.
    Regards,
    Joseph

  • Applet not opening a socket on its own host. Please help.

    I have also posted this in JSC2 forum.
    My applet is not able to open a socket on its own host.
    The applet is being served by a JSP (developed using Sun Creator2) from my laptop behind a DHCP broadband router at (say) 125.238.104.132 at my residence. I have a URL �samsub.no-ip.biz� that redirects port 80 calls to 29080 where my application runs. All required router rules/mapping are done and the JSPs run perfectly fine. In one of the pages, I have inserted an applet inside an escape disabled statictext field as follows:
    <applet code="AppClient.class" width=540 height=440></applet>
    The applet code and the test server code are shown below for your analysis. Note that, when run on the same machine (at home), the applet works fine. The commented lines will show other failed test. The error reported at the java console was: null pointer at line 56
    Could someone help me please. Thanx. MarySam
    The applet code
    1     import java.util.*;          
    2     import java.awt.*;          
    3     import java.applet.*;          
    4     import java.text.*;          
    5     import javax.swing.*;          
    6     import com.sun.java.swing.plaf.windows.*;          
    7     import java.awt.event.*;          
    8     import java.net.*;          
    9               
    10     public class AppClient extends Applet {          
    11     JInternalFrame jif;          
    12     JTextArea jta1, jta2;          
    13     Socket kkSocket = null;          
    14               
    15     public void init() {          
    16          try {     
    17               LookAndFeel lf = new WindowsLookAndFeel();
    18               UIManager.setLookAndFeel(lf);
    19          kkSocket = new Socket("125.238.104.132", 4444);
              //kkSocket = new Socket("samsub.no-ip.biz", 4444);
              //kkSocket = new Socket("125.238.104.132:29080", 4444);
              //kkSocket = new Socket("samsub.no-ip.biz:29080", 4444);
    20          }      catch(Exception e) {}
    21               
    22          setLayout(null);      
    23          setBackground(Color.black);     
    24          jif = new JInternalFrame();     
    25          jif.setLocation(20,20);     
    26          jif.setSize(500,400);     
    27          Container con1 = jif.getContentPane();     
    28          con1.setLayout(null);     
    29               
    30          jta1 = new JTextArea();      
    31          JScrollPane jcp1 = new JScrollPane(jta1);     
    32          jcp1.setBounds(10,10,410,100);     
    33          con1.add(jcp1);     
    34               
    35          jta2 = new JTextArea();     
    36          JScrollPane jcp2 = new JScrollPane(jta2);     
    37          jcp2.setBounds(10,115,470,245);     
    38          con1.add(jcp2);      
    39               
    40          JButton jb = new JButton("Go");     
    41          jb.setBounds(425,10,60,30);     
    42          jb.addActionListener(this);     
    43          con1.add(jb);      
    44               
    45          JLabel jlb = new JLabel();     
    46          jlb.setOpaque(true);     
    47          jlb.setBackground(Color.gray);     
    48          jlb.setForeground(Color.white);      
    49          jlb.setBounds(425,50,60,30);     
    50          con1.add(jlb);      
    51               
    52               
    53          jif.setVisible(true);     
    54          add(jif);      
    55          //jta2.setText(getCodeBase().toString());     
    56          jta2.setText(kkSocket.getInetAddress().toString());     
    57               
    58     }          
    59               
    60     public void start() {}          
    61               
    62     public void stop() {}          
    63               
    64               
    65     }          
    66               
    67               
    The test server Code
    1     import java.net.*;                         
    2     import java.io.*;                         
    3                              
    4     public class MyServer {                         
    5     public static void main(String[] args) throws IOException {               
    6                              
    7     ServerSocket serverSocket = null;                    
    8     try {                         
    9     serverSocket = new ServerSocket(4444);                    
    10     } catch (IOException e) {                         
    11     System.err.println("Could not listen on port: 4444.");          
    12     System.exit(1);                         
    13     }                         
    14                              
    15     Socket clientSocket = null;                         
    16     try {                         
    17     clientSocket = serverSocket.accept();                    
    18     System.out.println(clientSocket.getInetAddress().toString());          
    19     } catch (IOException e) {                         
    20     System.err.println("Accept failed.");                    
    21     System.exit(1);                         
    22     }                         
    23                              
    24     clientSocket.close();                         
    25     serverSocket.close();                         
    26     }                         
    27     }                         
    28                              
    29

    Hi Guys,
    I'm not actually from Mozilla Firefox, but I've had this problem before, and I've solved it with the help from another website.
    What you need to do is download a programme called "tdsskiller" from here:
    http://www.geekpolice.net/t23369-computer-infected
    scroll down the page and you should see a link. (I know the article itself seems irrelevant to your problem, but trust me, the programme they recommend works on this virus too.) It's only 1.3MB or so, so it doesn't take up huge amounts of space either! :)
    I can safely say that it is COMPLETELY safe to download this from geekpolice.net, as this website is a free website which helps people with viruses on their computer. If you ever have another problem with anything to do with computers, go and have a look on geekpolice.net, they should have something that might help you.
    Before anyone wonders why I am singing its praises so much, no I am not advertising them for any personal gain, but they have helped me get rid of some pretty nasty viruses on my computer before, so I am very grateful to them :)
    SO, anyway, after you've downloaded the tdsskiller, you should run it, and it may find some infected files, in which case let it repair them. After rebooting your computer, the annoying opening tab thing should be gone!
    I hope this works for anyone who's stuck :) If it doesn't, I'm really sorry, but it has definately worked for me!
    Good luck!
    Yashmeee :)

  • My macbook air with snow leopard OS. migrated to OS lion and have installed Java RE. a Bank website while opening in Java shows one error which window activity shows some applets not opening. it was fine in snow leopard. will somebody help?

    My macbook air with snow leopard OS was purchased last year. Recently migrated to OS lion and have also installed Java RE. A Bank website while opening in Java shows one error which window activity shows some applets not opening. But it was fine in snow leopard. Will somebody help?

    My macbook air with snow leopard OS was purchased last year. Recently migrated to OS lion and have also installed Java RE. A Bank website while opening in Java shows one error which window activity shows some applets not opening. But it was fine in snow leopard. Will somebody help?

  • I have download firefox 4 beta but now in some websites can not open. applet not load properly

    I just download fire 4 beta on my windows vista. Can not open in some websites. the message applet not load properly please reload the page

    Your More system details list doesn't show the Java plugin as installed.
    Update the [[Java]] plugin to the latest version.
    *http://kb.mozillazine.org/Java
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)

  • Applet not opened

    hi,
    applet page no opened.how to check out that.please help me out
    Apps Version:11.5.10.2
    Os:Red Hat 4
    1,Applet page is not working
    Navigation is System Administrator ->
    Security : User
              Define
              Monitor
    Nothing happen , when i clicked define.
    2,some problems in when i execute apache bounce.
    Apache Web Server Listener is stopped.
    Apache Web Server Listener :httpd ( pid 30440 ) is running.
    adapcctl.sh: exiting with status 0
    before we killed the pid of apache listener .after that we are facing the problem.
    3,Apache bounce not effective.After the developer modified the files,modified files not take to effect.
    Edited by: user3266490 on Jul 11, 2009 4:59 AM

    user11084555,
    as bigdelboy also points out, getting help from the community is a two way communication thing. you do not respond to any of the questions you've asked before. this means people will not be very keen on helping you.
    please respond to questions which are asked in response, and give helpfull and/or correct answer points, and ultimately when an issue is resolved flag it accordingly.
    besides that, this question too has way to little information for the community to be able to diagnose your problem and fix it.

  • Can not open PDF's in Safari

    Hi All:
    I know this has been asked and answered so many time that I am sorry to post again. However, I have read many of the prior posts, tired the fixes, and still the problem persists. All of a sudden, without any erxplanation I know of, PDF links do not open within Safari, as in the past, but instead revert to the Downloads and open in Preview.
    MacBook Pro OS: 10.6.8
    Safari: 5.1.7
    I have two other accounts set up and they both open PDF links within Safari.
    I have downloaded Adobe Reader again, checked my plugins. I can’t locate any Adobe plugins on either my home account or hard drive, restarted, etc.
    If possible, can someone try and offer assistance. It's one of those things which is bugging me and have been struggling with for the past three hours.
    thank you.

    Hi Linc:
    You and Carolyn seem to tbe the go to  people for this issue.
    When I pull up the plug0ins from the Help Menu, I get an entire page. I've tried copying it below.
    What really confuses me is that it works fine in my other accounts and I can't determine what is different in this account.
    thanks,
    val
    DivX Web Player
    DivX Web Player version 1.4.0.233 — from file “DivXBrowserPlugin.plugin”.
    video/divx
    DivX Video File
    divx,div
    Flip4Mac Windows Media Plugin 2.3.4
    The Flip4Mac WMV Plugin allows you to view Windows Media content using QuickTime. — from file “Flip4Mac WMV Plugin.plugin”.
    application/asx
    Windows Media Plugin
    application/x-mplayer2
    Windows Media Plugin
    audio/x-ms-wax
    Windows Media Playlist
    wax
    audio/x-ms-wma
    Windows Media Audio
    wma
    video/x-ms-asf
    Windows Media Video
    asf
    video/x-ms-asf-plugin
    Windows Media Plugin
    video/x-ms-asx
    Windows Media Playlist
    asx
    video/x-ms-wm
    Windows Media Video
    wm
    video/x-ms-wmp
    Windows Media Video
    wmp
    video/x-ms-wmv
    Windows Media Video
    wmv
    video/x-ms-wmx
    Windows Media Playlist
    wmx
    video/x-ms-wvx
    Windows Media Playlist
    wvx
    iPhotoPhotocast
    iPhoto6 — from file “iPhotoPhotocast.plugin”.
    application/photo
    iPhoto 600
    Java Plug-In 2 for NPAPI Browsers
    Java Plug-In 2 for NPAPI Browsers — from file “JavaAppletPlugin.plugin”.
    application/x-java-applet
    Basic Java Applets
    javaapplet
    application/x-java-applet;jpi-version=1.6.0_31
    Java applet
    application/x-java-applet;version=1.1
    Java applet
    application/x-java-applet;version=1.1.1
    Java applet
    application/x-java-applet;version=1.1.2
    Java applet
    application/x-java-applet;version=1.1.3
    Java applet
    application/x-java-applet;version=1.2
    Java applet
    application/x-java-applet;version=1.2.1
    Java applet
    application/x-java-applet;version=1.2.2
    Java applet
    application/x-java-applet;version=1.3
    Java applet
    application/x-java-applet;version=1.3.1
    Java applet
    application/x-java-applet;version=1.4
    Java applet
    application/x-java-applet;version=1.4.2
    Java applet
    application/x-java-applet;version=1.5
    Java applet
    application/x-java-applet;version=1.6
    Java applet
    application/x-java-vm
    Java applet
    application/x-java-vm-npruntime
    Java applet
    MoveNetworks Quantum Media Player
    npmnqmp 071505000006 — from file “Move-Media-Player.plugin”.
    application/x-vnd.movenetworks.qm
    MoveNetworks Move Media Player Plug-In
    qmx
    application/x-vnd.moveplay1.qm
    MoveNetworks Move Media Player Plug-In
    qmx
    QuickTime Plug-in 7.6.6
    The QuickTime Plugin allows you to view a wide variety of multimedia content in web pages. For more information, visit the QuickTime Web site. — from file “QuickTime Plugin.plugin”.
    application/sdp
    SDP stream descriptor
    sdp
    application/x-mpeg
    AMC media
    amc
    application/x-rtsp
    RTSP stream descriptor
    rtsp,rts
    application/x-sdp
    SDP stream descriptor
    sdp
    audio/3gpp
    3GPP media
    3gp,3gpp
    audio/3gpp2
    3GPP2 media
    3g2,3gp2
    audio/aac
    AAC audio
    aac,adts
    audio/ac3
    AC3 audio
    ac3
    audio/aiff
    AIFF audio
    aiff,aif,aifc,cdda
    audio/amr
    AMR audio
    amr
    audio/basic
    uLaw/AU audio
    au,snd,ulw
    audio/mid
    MIDI
    mid,midi,smf,kar
    audio/midi
    MIDI
    mid,midi,smf,kar
    audio/mp3
    MP3 audio
    mp3,swa
    audio/mp4
    MPEG-4 media
    mp4
    audio/mpeg
    MPEG audio
    mpeg,mpg,m1s,m1a,mp2,mpm,mpa,m2a,mp3,swa
    audio/mpeg3
    MP3 audio
    mp3,swa
    audio/vnd.qcelp
    QUALCOMM PureVoice audio
    qcp,qcp
    audio/wav
    WAVE audio
    wav,bwf
    audio/x-aac
    AAC audio
    aac,adts
    audio/x-ac3
    AC3 audio
    ac3
    audio/x-aiff
    AIFF audio
    aiff,aif,aifc,cdda
    audio/x-caf
    CAF audio
    caf
    audio/x-gsm
    GSM audio
    gsm
    audio/x-m4a
    AAC audio
    m4a
    audio/x-m4b
    AAC audio book
    m4b
    audio/x-m4p
    AAC audio (protected)
    m4p
    audio/x-midi
    MIDI
    mid,midi,smf,kar
    audio/x-mp3
    MP3 audio
    mp3,swa
    audio/x-mpeg
    MPEG audio
    mpeg,mpg,m1s,m1a,mp2,mpm,mpa,m2a,mp3,swa
    audio/x-mpeg3
    MP3 audio
    mp3,swa
    audio/x-wav
    WAVE audio
    wav,bwf
    image/jp2
    JPEG2000 image
    jp2
    image/jpeg2000
    JPEG2000 image
    jp2
    image/jpeg2000-image
    JPEG2000 image
    jp2
    image/pict
    PICT image
    pict,pic,pct
    image/png
    PNG image
    png
    image/tiff
    TIFF image
    tif,tiff
    image/x-bmp
    BMP image
    bmp,dib
    image/x-jpeg2000-image
    JPEG2000 image
    jp2
    image/x-macpaint
    MacPaint image
    pntg,pnt,mac
    image/x-pict
    PICT image
    pict,pic,pct
    image/x-png
    PNG image
    png
    image/x-quicktime
    QuickTime image
    qtif,qti
    image/x-sgi
    SGI image
    sgi,rgb
    image/x-targa
    TGA image
    targa,tga
    image/x-tiff
    TIFF image
    tif,tiff
    video/3gpp
    3GPP media
    3gp,3gpp

  • HT201210 After downloading latest version of iTunes it will not open.  This error message is displayed;  The program can't star because MSVCR80.dll is missing from your computer.  Try reinstalling the program to fix this problem.  Then a second error box

    After iTunes requested that I download latest version on PC it now will not open.  2 error messages appear.  first:  The program can't start because MSVCR80.dll is missing from your computer.  Try reinstalling the program to fix this problem.  second:  iTunes was not installed correctly please reinstall iTunes. Error 7 (Windows error 126).  I have tried reinstalling a number of times and restarting computer but no luck.

    This happened to me today as well post installing the latest version of itunes.   I did a search on google for the error and came across a recommendation to :
    Note: Start Windows in Safe Mode to complete any of the following steps if you're unable to access Windows normally due to the msvcr80.dll error.
    If, and only if, you're receiving the msvcr80.dll is missing error when you open Apple iTunes, do the following: (skip this step if your msvcr80.dll error is occurring with a different program)
    Uninstall from Windows the following five programs in this order: iTunes, Apple Software Update, Apple Mobile Device Support, Bonjour, and finally Apple Application Support. If you have iCloud, remove it as well.
    Uninstalling these programs in Windows is done from an applet in Control Panel called Programs & Features (in Windows 8, 7, or Vista) or Add or Remove Programs (in Windows XP).
    Note: Songs and playlists in iTunes will not be removed when you uninstall the iTunes program or any of the other, already-mentioned Apple programs. If you'd still like to back them up, they're usually located in the My Music folder in Windows.
    Download the latest version of iTunes from Appleand note the location you're saving it to so you can find it once it's done.
    Run the iTunes installation as an administrator. If you're not sure how to do that, see How Do I Open an Elevated Command Prompt? for help. That procedure shows you how to open the Command Prompt program as an administrator, but the steps are essentially the same for anything, including the iTunes installation package you just downloaded.
    A general overview of removing and reinstalling iTunes can also be found here on Apple's site but the above procedure seems to work better in this particular situation.

  • Web Cam applet is not working in great consistency

    Hi... My video capturing applet is not working very well.
    The image stream is displayed on the web page in JPEG format with 0.5 quality. However, it crashes after a while and the it does not release the vfw resource.
    I have to restart my machine in order to execute it again.
    Can anyone please help?
    Thanks.
    Carter

    Ok. Thanks.
    Sender Applet
    import javax.swing.*;
    import java.io.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    /*<applet code="myGUIApplet.class" width="300" height="300"></applet>*/
    public class myGUIApplet extends JApplet implements ActionListener
         private JPanel bottom=new JPanel();
         private JPanel centVisual=new JPanel();
         private JPanel connectionAddress=new JPanel();
         private JButton capture=new JButton("Start Capturing");
         private JButton stops=new JButton("Stop");
         private JMenuBar menubar=new JMenuBar();
         private JMenu file=new JMenu("file");     
         private JMenuItem fileItem1=new JMenuItem("Exit");
         private JLabel serverip=new JLabel("Server IP");
         private JTextField setIP=new JTextField();
         public static JTextField ServerInfo=new JTextField();
         private MyTransmitter mytrans;
         private String ip;
         public static final String DEFAULT_MULTICAST_IP="226.10.10.20";
         public static final String DEFAULT_PORT="80";
         public void init()
              //setSize(400,400);               
              setLayout(new BorderLayout());
              menubar.add(file);
              file.add(fileItem1);
              bottom.setLayout(new BorderLayout());
              bottom.setBackground(Color.black);
              bottom.add("West",capture);
              bottom.add("East",stops);
              connectionAddress.setLayout(new BorderLayout());
              connectionAddress.add("North",serverip);
              connectionAddress.add("South",setIP);
              ServerInfo.setEditable(false);
              connectionAddress.add("Center",ServerInfo);
              setIP.addActionListener(this);
              setIP.setText("");
              capture.setBackground(Color.lightGray);
              capture.addActionListener(this);
              stops.addActionListener(this);
              fileItem1.addActionListener(this);
              add("South",bottom);
              add("North",menubar);     
              add("Center",connectionAddress);          
         public void actionPerformed(ActionEvent ae){
              Object source=ae.getSource();
              if(source==capture){
              if(setIP.getText().equals(""))
                        ip=DEFAULT_MULTICAST_IP;
              else{
                   ip=setIP.getText();
                   if(mytrans!=null){
                        mytrans.stopTransmitter();
                        mytrans=null;                         
                   System.out.println(" - Connecting to "+ip+" port: "+DEFAULT_PORT);
                   ServerInfo.setText(" - Connecting to "+ip+" port: "+DEFAULT_PORT);
                   mytrans=new MyTransmitter(ip,DEFAULT_PORT,ServerInfo);
                   mytrans.start();               
              if(source==stops){
                   if(mytrans!=null)
                        mytrans.stopTransmitter();
                   System.exit(0);
              if(source==fileItem1){
                   if(mytrans!=null)
                        mytrans.stopTransmitter();     
                   System.exit(0);
         public void destroy(){
              if(mytrans!=null){
                   mytrans.stopTransmitter();
    import java.awt.*;
    import javax.swing.*;
    import java.io.*;
    import java.util.*;
    import java.net.InetAddress;
    import javax.media.*;
    import javax.media.protocol.*;
    import javax.media.protocol.DataSource;
    import javax.media.format.*;
    import javax.media.control.TrackControl;
    import javax.media.control.QualityControl;
    import javax.media.rtp.*;
    import javax.media.rtp.rtcp.*;
    import javax.media.rtp.*;
    import java.io.InputStream;
    import javax.media.rtp.RTPManager;
    public class MyTransmitter extends Thread
         private MediaLocator videoLocator;
         private String ipAddress;
         private int basePort;
         private Integer stateLock=new Integer(0);
         private boolean failure;
         private Processor processor;
         private DataSource videoDataInput,videoDataOutput;
         private RTPManager rtpMgrs[];
         private VideoFormat JPEG_VIDEO=new VideoFormat(VideoFormat.JPEG_RTP);
         private SendStream sendStream;
         private SourceDescription descriptionList[];
         private JTextField infoField;
         public MyTransmitter(String ips,String ports,JTextField ServerInfo){
              infoField=ServerInfo;
              ipAddress=ips;
              Integer bPort=Integer.valueOf(ports);
              if(bPort!=null)
                   basePort=bPort.intValue();
         public void run()
              initializeVideo();
              if(videoLocator!=null){
                   createMyProcessor();
                   createMyManager();
              // May be should put inside the if..else statements
              //createMyTransmitter();
         // Initailize the video
         public void initializeVideo()
              // Stre the devices in a vector
              VideoFormat format=new VideoFormat(VideoFormat.RGB);
              Vector deviceList=CaptureDeviceManager.getDeviceList(format);
              CaptureDeviceInfo deviceInfo=null;
              // If there is more than one device detected
              if(deviceList.size()>0){
                   // Set the first device to device Info
                   // GEt the media locator of the devie
                   deviceInfo=(CaptureDeviceInfo)deviceList.elementAt(0);
                   videoLocator=deviceInfo.getLocator();
              }else{
                   System.out.println(" --X No device found...");
                   infoField.setText(" --X No device found...");
         public void createMyProcessor()
              boolean result=false;
              DataSource ds=null;
              // Check if the media locator is null
              if(videoLocator==null){
                   System.out.println(" --X No video locator..");
                   infoField.setText(" --X No video locator...");
              System.out.println(" - Trying to create a Processor..");
              infoField.setText(" - Trying to create a Processor..");
              // Attempt to create DataSource from media locator
              try{
                   ds=Manager.createDataSource(videoLocator);
              }catch(Exception ex){
                   System.out.println(" --X Unable to create dataSource : "+ex.getMessage());
              System.out.println(" - Video data source is created..");
              infoField.setText(" - Video data source is created..");
              // Try to create Processor from DataSource
              try{
                   processor=Manager.createProcessor(ds);
              }catch(NoProcessorException npe){
                   System.out.println(" --X Unable to create Processor: "+npe.getMessage());
                   infoField.setText(" --X Unable to create Processor: "+npe.getMessage());
              catch(IOException ioe){
                   System.out.println(" --X IOException creating Processor..");
                   infoField.setText(" --X IOException creating Processor..");
              // Wait for the processor to be configured
              result=waitForState(processor,Processor.Configured);
              if(result==false){
                   System.out.println(" --X Could not configure processor..");
                   infoField.setText(" --X Could not configure processor..");
              // Set the track controls for processor
              TrackControl []tracks=processor.getTrackControls();
              if(tracks==null || tracks.length<1){
                   System.err.println(" --X No track is found..");
                   infoField.setText(" --X No track is found..");
              // Set the content description of processor to RAW_RTP format
              // This will limit the supported formats to reported from
              // Track.getSupportedFormats() to valid RTP format
              ContentDescriptor cdes=new ContentDescriptor(ContentDescriptor.RAW_RTP);
              processor.setContentDescriptor(cdes);
              Format []supported;
              Format chosen=null;
              boolean atLeastOneTrack=false;
              for(int i=0;i<tracks.length;i++){
                   Format format=tracks.getFormat();
                   if(tracks[i].isEnabled()){
                        supported=tracks[i].getSupportedFormats();
                        // WE've set the output content to RAW_RTP.
                        // So, all the supporte formats should work with RAW_RTP.
                        // We will pick the first one.
                        if(supported.length>0){
                             if(supported[0] instanceof VideoFormat){                              
                                  chosen=checkVideoSize(tracks[i].getFormat(),supported[0]);
                             }else
                                  chosen=supported[0];
                             tracks[i].setFormat(chosen);
                             System.out.println(" Track "+i+" is transmitted in "+chosen+" format.. ");
                             infoField.setText(" Track "+i+" is transmitted in "+chosen+" format.. ");
                             atLeastOneTrack=true;
                        }else{
                             // If no format is suitable, track is disabled
                             tracks[i].setEnabled(false);
                   }else
                        tracks[i].setEnabled(false);          
              if(!atLeastOneTrack)
                   System.out.println("atLeastOneTrack: "+atLeastOneTrack);
                   System.out.println(" --X Could Not find track to RTP format..");
                   infoField.setText("atLeastOneTrack: "+atLeastOneTrack);
                   infoField.setText(" --X Could Not find track to RTP format..");
              result=waitForState(processor,Controller.Realized);
              if(result==false){
                   System.out.println(" --X Could NOT realize processor...");
                   infoField.setText(" --X Could NOT realize processor...");
              // Set the JPEG Quality to value 0.5
              setJPEGQuality(processor,0.5f);
              // Set the output Data Source
              videoDataOutput=processor.getDataOutput();
              //Start the processor
              processor.start();          
         public void setJPEGQuality(Processor p,float values)
              Control []cs=p.getControls();
              QualityControl qc=null;
              VideoFormat JPEGFmt=new VideoFormat(VideoFormat.JPEG);
              // Loop through the ocntrols to find the Quality control for the JPEG encoder
              for(int i=0;i<cs.length;i++){
                   if(cs[i] instanceof QualityControl && cs[i] instanceof Owned){
                        Object owner=((Owned)cs[i]).getOwner();
                        // Check if the owner is the Codec
                        // Check the format of output as well
                        if(owner instanceof Codec){
                             Format fmts[]=((Codec)owner).getSupportedOutputFormats(null);
                             // Loop through the supported format and set the quality to 0.5
                             for(int j=0;j<fmts.length;j++){
                                  qc=(QualityControl)cs[i];
                                  qc.setQuality(values);
                                  System.out.println(" - Quality is set to "+values+" on "+qc);
                                  infoField.setText(" - Quality is set to "+values+" on "+qc);
                                  break;
                   if(qc!=null)
                        break;
         public Format checkVideoSize(Format originalFormat,Format supported)
              int width,height;
              Dimension size=((VideoFormat)originalFormat).getSize();     
              Format jpegFormat=new Format(VideoFormat.JPEG_RTP);
              Format h263fmt=new Format(VideoFormat.H263_RTP);
              if(supported.matches(jpegFormat)){
                   width=(size.width%8 == 0 ? size.width:(int)(size.width%8)*8);
                   height=(size.height%8 == 0 ? size.height:(int)(size.height%8)*8);
              }else if(supported.matches(h263fmt)){
                   if(size.width<128){
                        width=128;
                        height=96;
                   }else if(size.width<176){
                        width=176;
                        height=144;
                   }else{
                        width=352;
                        height=288;
              }else{
                   // Unknown format, just return it.
                   return supported;
              return (new VideoFormat(null,new Dimension(width,height),Format.NOT_SPECIFIED,null,Format.NOT_SPECIFIED)).intersects(supported);
         public boolean waitForState(Processor p,Integer status)
              p.addControllerListener(new StateListener());
              failure=false;
              if(status==Processor.Configured){
                   p.configure();               
              }else if(status==Processor.Realized){
                   p.realize();
              //Wait until an event that confirms the success of the method, or failure of an event
              while(p.getState()<status && !failure){
                   synchronized(getStateLock()){
                        try{
                             // Wait
                             getStateLock().wait();
                        }catch(InterruptedException ie){
                             return false;
              if(failure)
                   return false;
              else
                   return true;
         public Integer getStateLock(){
              return stateLock;
         public void setFailure(){
              failure=true;
         public void createMyManager()
              SessionAddress destAddress;
              InetAddress ipAddr;
              int port;
              SourceDescription srcDesList[];
              PushBufferDataSource pbds=(PushBufferDataSource)videoDataOutput;
              PushBufferStream pbss[]=pbds.getStreams();          
              rtpMgrs=new RTPManager[pbss.length];          
              for(int a=0;a<pbss.length;a++){
              try{
                   // RTP Managers or RTP Manager?????
                   rtpMgrs[a]=RTPManager.newInstance();
                   port=basePort;
                   ipAddr=InetAddress.getByName(ipAddress);
                   SessionAddress localAddr=new SessionAddress(InetAddress.getLocalHost(),port+20);
                   destAddress=new SessionAddress(ipAddr,port,1);
                   Integer myipprefix=Integer.valueOf(ipAddress.substring(0,3));
                   if((myipprefix.intValue()>223) && (myipprefix.intValue()<240)){
                        rtpMgrs[a].initialize(destAddress);
                   }else{
                        rtpMgrs[a].initialize(localAddr);
                   rtpMgrs[a].addTarget(destAddress);
                   System.out.println(" Created RTP session: "+ipAddress+" "+port+" to "+destAddress);
                   infoField.setText(" Created RTP session: "+ipAddress+" "+port+" to "+destAddress);
                   if(videoDataOutput!=null){
                        sendStream=rtpMgrs[a].createSendStream(videoDataOutput,0);
                        sendStream.start();
                        System.out.println(" RTP stream is started..");
                        infoField.setText(" RTP stream is started..");
              }catch(UnsupportedFormatException ex){
                   System.out.println(" --X Unsupported Format : "+ex);
                   infoField.setText(" --X Unsupported Format : "+ex);
              catch(IOException ioe){
                   System.out.println(" --X IOException : "+ioe.getMessage());
                   infoField.setText(" --X IOException : "+ioe.getMessage());
              catch(Exception ex){
                   System.out.println(" --X Unable to create RTP Manager...");
                   System.out.println(ex.getMessage());
                   infoField.setText(" --X Unable to create RTP Manager..."+ex.getMessage());
         /*public void createMyTransmitter()
         try{
              if(videoDataOutput!=null){
                   sendStream=rtpMgrs[i].createSendStream(videoDataOutput,0);
                   sendStream.start();
         }catch(UnsupportedFormatException ex){
                   System.out.println(" --X Unsupported Format : "+ex);
                   infoField.setText(" --X Unsupported Format : "+ex);
         catch(IOException ioe){
                   System.out.println(" --X IOException : "+ioe.getMessage());
                   infoField.setText(" --X IOException : "+ioe.getMessage());
         public void stopTransmitter(){
              if(processor!=null){
                   processor.stop();
                   processor.close();
                   processor=null;
                   // Loop through RTP Managers and close all managers..
                   // Dispose them for garbage collection
                   for(int i=0;i<rtpMgrs.length;i++){
                        rtpmgrs[i].removeSendStream(this);
                        rtpMgrs[i].removeTargets("Session ended..");
                        rtpMgrs[i].dispose();
                   //rtpMgrs.removeTargets("Session ended..");
                   //rtpMgrs.dispose();
         * StateListener class to handle Controller events
         class StateListener implements ControllerListener{
              public void controllerUpdate(ControllerEvent ce){
                   if(ce instanceof ControllerClosedEvent){
                        processor.close();
                   /* Handle all controller events and notify all
                   waiting thread in waitForState method */
                   if(ce instanceof ControllerEvent){
                        synchronized(getStateLock()){
                             getStateLock().notifyAll();
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    Client Applet
    import javax.media.*;
    import javax.media.protocol.*;
    import javax.media.protocol.DataSource;
    import javax.media.control.BufferControl;
    import javax.media.control.*;
    import javax.media.format.*;
    import javax.media.rtp.*;
    import javax.media.rtp.rtcp.*;
    import javax.media.rtp.event.*;
    import com.sun.media.rtp.RTPSessionMgr;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    import java.io.*;
    import java.net.*;
    import java.net.URL;
    import java.net.Socket;
    /*<applet code="clientPlayerApplet.class" width="400" height="300">
         <param name=ServerIPS value="192.168.0.9">
         <param name=ServerPort value="80">
         <param name=TimeToLive value="1">
         <param name=archive value="clientPlayerApplet.jar">
    </applet> */
    public class clientPlayerApplet extends JApplet implements ControllerListener, ReceiveStreamListener,SessionListener
         String sessions[]=null;
         RTPManager rtpmgrs[]=null;     
         boolean dataReceived=false;
         Object myDataSync=new Object();
         private Player player;
         //private String serveripadd="226.10.10.20";
         //private int serverPort=2020;
         //private int timeToLive=1;
         private JPanel panel;
         private Vector currentParticipant;
         public void init()
              panel=new JPanel();
              setLayout(new BorderLayout());
              add("Center",panel);
              //String[] urls;
              /*urls[0]=getParameter("ServerIPS");
              urls[1]="/";
              urls[2]=getParameter("ServerPort");*/
              String []urls={new String(getParameter("ServerIPS")+"/"+getParameter("ServerPort")+"/"+getParameter("TimeToLive"))};
              sessions=urls;          
              initializePlayer();
         public void initializePlayer(){
              try{
                   InetAddress ipAddr;
                   SessionAddress localAddr=new SessionAddress();
                   SessionAddress destAddr;
                   rtpmgrs=new RTPManager[sessions.length];
                   currentParticipant=new Vector();
                   //rtpmgrs=new RTPManager();
                   SessionLabel session=null;
                   //Open RTP session
                   for(int i=0;i<sessions.length;i++){
                        try{
                             session=new SessionLabel(sessions[i]);
                             //session=new SessionLabel(sessions);
                        }catch(IllegalArgumentException iae){
                             System.out.println(" --X Unable to parse the sesion address given");     
                        System.out.println(" - Open RTP session for "+session.port);
                        rtpmgrs[i]=(RTPManager) RTPManager.newInstance();               
                        rtpmgrs[i].addSessionListener(this);
                        rtpmgrs[i].addReceiveStreamListener(this);
                        ipAddr=InetAddress.getByName(session.addr);
                        if(ipAddr.isMulticastAddress()){
                             localAddr=new SessionAddress(ipAddr,session.port,session.ttl);
                             destAddr=new SessionAddress(ipAddr,session.port,session.ttl);
                        }else{
                             localAddr=new SessionAddress(InetAddress.getLocalHost(),session.port);     
                             destAddr=new SessionAddress(ipAddr,session.port);
                        rtpmgrs[i].initialize(localAddr);
                        BufferControl bc=(BufferControl)rtpmgrs[i].getControl("javax.media.control.BufferControl");
                        if(bc!=null)
                             bc.setBufferLength(600);
                        rtpmgrs[i].addTarget(destAddr);
              }catch(Exception ex){
                   System.out.println(" --X Cannot create RTP Session "+ex.getMessage());
              long currentTime=System.currentTimeMillis();
              long waitingDuration=10000;
              try{
                   synchronized(myDataSync){
                        while(!dataReceived && (System.currentTimeMillis() - currentTime < waitingDuration)){
                             if(!dataReceived){
                                  myDataSync.wait(1000);
              }catch(Exception ex){
                   System.out.println(" --X myDataSync interrupted...");
              if(!dataReceived){
                   System.out.println(" No RTP Stream Data is received.." );               
         public void destroy()
              for(int i=0;i<currentParticipant.size();i++){
                   //if(player!=null)
                        ((MyPlayList)currentParticipant.elementAt(i)).close();
              // Loop through the RTP Managers
              // -> Remove the stream listener
              // -> Remove the target address
              // -> Dispose the RTP Manager for garbage collection
              currentParticipant.removeAllElements();
              for(int i=0;i<rtpmgrs.length;i++){
                   if(rtpmgrs[i]!=null){
                        rtpmgrs[i].removeReceiveStreamListener(this);
                        rtpmgrs[i].removeTargets(" Closing session..");
                        rtpmgrs[i].dispose();
                        rtpmgrs[i]=null;
         MyPlayList find(Player pl){
              for(int i=0;i<currentParticipant.size();i++){
                   MyPlayList mpl=(MyPlayList)currentParticipant.elementAt(i);
                   if(mpl.clientPlay==pl)
                        return mpl;
              return null;
         MyPlayList find(ReceiveStream rs){
              for(int i=0;i<currentParticipant.size();i++){
                   MyPlayList mpl=(MyPlayList)currentParticipant.elementAt(i);
                   if(mpl.stream==rs)
                        return mpl;
              return null;
         *     ReceiveStream Listener function                    *
         public synchronized void update(ReceiveStreamEvent rse)
              RTPManager mgr=(RTPManager)rse.getSource();
              ReceiveStream stream=rse.getReceiveStream();
              Participant participant=rse.getParticipant();
              if(rse instanceof RemotePayloadChangeEvent){
                   System.out.println(" -- Received Payload Change Event..");
                   System.out.println(" Sorry, no payload change is allowed.");               
              }else if(rse instanceof NewReceiveStreamEvent){
                   try{
                        // Once the new stream is detected, create the datasource
                        stream=((NewReceiveStreamEvent)rse).getReceiveStream();
                        DataSource outputDS=stream.getDataSource();
                        // Get RTP Controller to find the format
                        RTPControl rtpctl=(RTPControl)outputDS.getControl("javax.media.rtp.RTPControl");
                        if(rtpctl!=null){
                             System.out.println(" -> Received new rtP stream: "+rtpctl.getFormat());
                        }else
                             System.out.println(" -> Received new RTP stream");
                        if(participant!=null){
                             System.out.println(" -> New stream received from: "+participant.getCNAME());
                        }else{
                             System.out.println(" -> New stream detected... ");
                        player=Manager.createPlayer(outputDS);
                        if(player==null)
                             return;
                        System.out.println(" - Player is created...");
                        player.addControllerListener(this);
                        player.realize();
                        // Helper class to identify the player and stream
                        MyPlayList mpl=new MyPlayList(player,stream);
                        // Add the helper class object to Vector
                        currentParticipant.addElement(mpl);
                        // Notify initializePlayer() that a new stream has arrived
                        synchronized(myDataSync){
                             dataReceived=true;
                             myDataSync.notifyAll();
                   }catch(Exception ex){
                        System.out.println(" --X NewReceiveStream Exception: "+ex.getMessage());
                        return;
              }else if(rse instanceof ByeEvent){
                   System.out.println(" - BYE packet received from "+participant.getCNAME());
                   MyPlayList mpls=find(stream);
                   if(player!=mpls){
                        mpls.close();
                        currentParticipant.removeElement(mpls);
                   if(mgr!=null){
                        mgr.removeReceiveStreamListener(this);
                        mgr.removeTargets(" Closing session..");
                        mgr.dispose();
                        mgr=null;
              }else if(rse instanceof StreamMappedEvent){
                   if(stream!=null && stream.getDataSource()!=null){
                        DataSource myds=stream.getDataSource();
                        RTPControl rtpctrl=(RTPControl)myds.getControl("javax.media.rtp.RTPControl");
                        System.out.println(" -> The previously unidentified stream ");
                        if(rtpctrl!=null)
                             System.out.println(" "+rtpctrl.getFormat());
                        System.out.println(" has been identified as sent by :"+participant.getCNAME());
         *           Session Listener
         public void update(SessionEvent sesevt)
              if(sesevt instanceof NewParticipantEvent){
                   Participant part=((NewParticipantEvent)sesevt).getParticipant();
                   System.out.println(" -> A new partcipant has joined :"+part.getCNAME());
         *     ControllerListener for Players          
         public synchronized void controllerUpdate(ControllerEvent ce)
              Player p=(Player)ce.getSource();
              if(p==null)
                   return;
              if(ce instanceof RealizeCompleteEvent){
                   MyPlayList mpls=find(p);
                   if(mpls!=null){
                        p.start();
                        if(p.getVisualComponent()!=null){
                             panel.add(player.getVisualComponent());
                             panel.validate();
              if(ce instanceof ControllerErrorEvent){
                   p.removeControllerListener(this);
                   MyPlayList mpls=find(p);
                   if(mpls!=null){
                        // Close the player
                        // Remove the player helper class object from the list
                        p.close();
                        currentParticipant.removeElement(mpls);
                   System.out.println("Receiver internal error: "+ce);
         class SessionLabel{
              public String addr=null;
              public int port;
              public int ttl;
              SessionLabel(String session) throws IllegalArgumentException
                   int off;
                   String portStr=null;
                   String ttlStr=null;
                   if(session!=null && session.length() >0){
                        while(session.length()>1 && session.charAt(0)=='/')
                             session=session.substring(1);
                        off=session.indexOf('/');
                        if(off==-1){
                             if(!session.equals(""))
                                  addr=session;
                        }else{
                             addr=session.substring(0,off);
                             session=session.substring(off+1);
                             off=session.indexOf('/');
                             if(off==-1){
                                  if(!session.equals(""))
                                       portStr=session;
                             }else{
                                  portStr=session.substring(0,off);
                                  session=session.substring(off+1);
                                  off=session.indexOf('/');
                                  if(off==-1){
                                       if(!session.equals(""))
                                            ttlStr=session;
                                  }else{
                                       ttlStr=session.substring(0,off);
                   if(addr==null)
                        throw new IllegalArgumentException();
                   if(portStr!=null)
                        try{
                             Integer ints=Integer.valueOf(portStr);
                             if(ints!=null)
                                  port=ints.intValue();
                        }catch(Throwable t){
                             System.out.println(" --X PortStr Error..");
                             throw new IllegalArgumentException();
                   }else
                        throw new IllegalArgumentException();
                   if(ttlStr!=null){
                   try{
                        Integer intsttl=Integer.valueOf(ttlStr);
                        if(intsttl!=null)
                             ttl=intsttl.intValue();
                   }catch(Throwable t){
                             System.out.println(" --X PortStr Error..");
                             throw new IllegalArgumentException();
         class MyPlayList{
              Player clientPlay;
              ReceiveStream stream;
              MyPlayList(Player p,ReceiveStream rs){
                   clientPlay=p;
                   stream=rs;
              public void close()
                   clientPlay.close();

  • Applet does not work after conversion

    Hi,
    A have an html page on with a use an applet. The applet is downloaded in two cab files for the internet explorer.
    The applet and the download works fine without the java plugin.
    When I convert this page to using the html converter the applet does not work
    The error is
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I think he fails on the downlad of the second cab file....
    Sombody any ideas,
    Thank
    Tom Van de Velde

    I recently moved to programming applets and this problem gave me many
    headaches. I know that the java compiler is supposed to compile with an
    appropriate version, but I suspect that there may be a few flaws in the
    system.
    Try compiling with a command like this to force a 1.1 compilation:
    "javac -target 1.1 yourfile.java"
    This enabled my applets to load in Netscape 4.6, something they wouldn't do before.
    Installing the java plugin seems to fix the problem on other browsers. This might
    be a new bug introduced by Java 1.4, since I had very few problems with
    Java 1.3...I dunno...that's speculation...

  • Office 2013 will not open any applications

    I am having a problem with a number of users complaining that Office 2013 applications will not open. I double click on the icon, or single click on the tile (Windows 8.1) nothing happens. Looking at the task manager the only thing related to the office
    is the Office ClickToRun service is running.
    The only thing I can do to get things working again is to do a full repair from the Programs and Features Control Panel Applet. I have tried the quick repair and numerous other things but nothing else works. I have let it go for many hours thinking it may
    be installing something but still nothing happens.
    Since I know how to fix it, the problem has a work around, however, since I am running a good number of workstations using 2013 this way I am afraid this is going to happen to more users (So far it is three users).
    Please help, there must be a way to fix this instead of repairing every time it happens.

    Hi,
    Do you try to open Office with below methods?
    Go to Office location folder to open Office suits.
    Press Win+R>Enter winword.exe (or other)
    If we can open them, please follow the KB and re-create the software shortcut in Windows 8.1
    http://support.microsoft.com/kb/2820848/en-us
    If we still can't open them, please first let me know the update lists you have installed before this issue.
    Then, restore the system back to the point when the Office app work fine.
    As following, we can install these updates one by one to navigate which update cause this issue.
    Then post back the KB number and full name here.
    I will try to reproduce your issue and plan for further troubleshooting steps.
    Thanks
    George Zhao
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click "[email protected]"

Maybe you are looking for

  • HP LaserJet 4 plus driver

    The driver I have will not install, setup, or execute. So how do you get the driver into windows XP. This is the first time in 18 years I have seen this. It appears the driver is in DOS format. Hopefully I will get an answer before the weekends out.

  • I downloaded IOS 6 and now it won't remember names and passwords

    I recently downloaded IOS 6 for IPhone 4 and now it won't remember names and passwords for websites I frequently visit. It used to remember prior to the download. Any suggestions?

  • Oracle POC - how to include variable in data source and reference it

    from style sheet? We need to automatically print Supplier name on Oracle Contract Terms Template signatures section. Presently it needs to be entered by hand and it is not optimal because Supplier name exists on a purchasing document. Thanks in advan

  • Doubt in internal table records

    Hi all,    I have a one problem, in my internal table have 5 records. i did some correction in my progm after i execute the loop i need the correction in the records. In debug mode it showing in the header level. but it not changing the body records.

  • To track who changed any object

    Hi all Is there any Function module to track the user id of the user who has made a change in any object ..say a sales order or purchase order. I am doing using table cdhdr, but this takes a long time as data is huge. Is there any way out. Regards Di