Applet working perfectly in the appletviewer but not in the browser

I have tried everthing that came upto mind to get the applet working in the browser, which includes
using of the HTML Converter, downloading the java plugin, newest netscape nevigator6.23 and installing j2sdk 14. still i am unable to get the applet working in the browser where as it works perfectly fine in the appletviewer. Applet takes the gif name and the time deplay to dipaly the pictures after the delay.

Can we see the HTML source code .and hope ur using the <object > or <embed> tag ..

Similar Messages

  • My applet works in the appletviewer but not in the navigator

    My applet works in the appletviewer but not in the navigator
    exceptions problem1 and problem2 are throwed
    this is my code
    import java.applet.*;
    import java.net.*;
    import java.io.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class ValiderHtml extends Applet implements ActionListener {
    JButton send =new JButton("Connexion");
    JScrollPane jscrollpane= new JScrollPane();
    DefaultListModel lignes=new DefaultListModel();
    JList lstURL = new JList(lignes);
    BufferedReader reader = null;
    String ligne;
    URL url;
    URLConnection conn;
       public void init(){   
       this.setSize(900,400);
       setLayout( new GridLayout(2,1));
       jscrollpane.setBounds(new Rectangle(19,53,160,73));
       jscrollpane.getViewport().add(lstURL,null);
       send.addActionListener(this);
            this.add(send);
       this.add(jscrollpane);
        public void actionPerformed(ActionEvent evt) {
             Send();
       public void Send(){
            try {
       url=new URL("http://www.developpez.com");
       conn = url.openConnection();
       reader = new BufferedReader(new InputStreamReader(conn.getInputStream()));
    while ((ligne = reader.readLine()) != null) {
                     lignes.addElement(ligne);
        }//fin bloc try
       catch (Exception e) {
                   lignes.addElement("probleme1");     
                finally{
                   try{reader.close();}catch(Exception e){ lignes.addElement("probleme2");}
       }// fin Send
          public void paint(Graphics g) {
                super.paint(g);
    }// fin Applet

    As for tracking the source of your problem your applet sucks.
    Try e.printStackTrace() on a cought exception and check the (full) trace.
    url=new URL("http://www.developpez.com");
    Unless yor applet is on www.developpez.com this will throw an exception in an unsigned
    applet without special policies.
    Signing applets:
    http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
    second post and last post for the java class file
    http://forum.java.sun.com/thread.jsp?forum=63&thread=409341
    4th post explaining how to set up your own policy with your own keystore

  • Opening a new file in photoshopcc and the file name is displayed but no white working canvas. you can see it as a layer in the layers panel and if i draw on the grey area i can see int on the layer but not on the main screen.

    opening a new file in photoshop cc and the file name is displayed but no white working canvas. you can see it as a layer in the layers panel and if i draw on the grey area i can see int on the layer but not on the main screen.

    Graphics card is the problem.
    Trying to update drivers now.
    Thanks for your help
    john

  • The screen on my iPhone is frozen and I can access apps through Siri. The touch screen works within the apps but not in the home screen. What do I do?

    the screen on my iPhone is frozen and I can access apps through Siri. The touch screen works within the apps but not in the home screen. What do I do?

    Have you tried a reset which is similar to a computer restart and is done by pressing and holding the home button and the sleep/wake or on/off button simultaneously until you see the Apple logo and then release?

  • The scroll function on my mousepad is disabled when viewing a pdf file in firefox version 5.0. The scroll works on the pdf, but not on the other tabs. When the pdf is closed, the scroll function returns to normal. Any ideas?!

    The scroll function on my mousepad is disabled when viewing a pdf file in firefox version 5.0. The scroll works on the pdf, but not on the other tabs. When the pdf is closed, the scroll function returns to normal. Any ideas?!

    Hey thanx for the help, it worked like a charm.
    I think firefox changed the application lay out, as I used to be able to choose my PDF opener from the list at " Adobe Acrobat Forms Document' where I could choose Nitro-PDF reader, but it has now moved all the way to the bottom like you suggested to the obvious place of "Portable Document Format" section.
    If someone didn't tell me , I wouldn't have scrolled all the way down to be able to find it... it really should be with all its cousins up the top...
    Cheers again..

  • Ichat works for me when I'm in the US but not in the UK.   In the UK it is like watching a tape played at about 1/10th speed.

    iChat works for me when I'm in the US but not in the UK.   In the UK it is like watching a tape played at about 1/10th speed.  I have O2 broadband (who decline to help as they "do not support third party software").

    Hi
    In iChats prefs click on video and change bandwidth limit to 500.
    Restart iChat.
    Tony

  • Same command works on the server but not on the workstation

    Scenario
    Exchange 2010 sp3
    Name                           Value
    CLRVersion                     2.0.50727.4984
    BuildVersion                   6.1.7600.16385
    PSVersion                      2.0
    WSManStackVersion              2.0
    PSCompatibleVersions           {1.0, 2.0}
    SerializationVersion           1.1.0.1
    PSRemotingProtocolVersion      2.1
    Worstation:
    Name                           Value
    PSVersion                      4.0
    WSManStackVersion              3.0
    SerializationVersion           1.1.0.1
    CLRVersion                     4.0.30319.18063
    BuildVersion                   6.3.9600.16406
    PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}
    PSRemotingProtocolVersion      2.2
    I input a command from my workstation using ISE
    get-exchangeserver | Where-Object {$_.IshubtransportServer -eq $True} | Get-MessageTrackingLog -Start (get-date).AddHours(-2) -Sender '[email protected]'
    Error:
    The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any of the 
    parameters that take pipeline input.
    The Exact same command from the Server works.
    In my profile I have the following:
    set-Location c:\
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri 'http://MyExchangeServer/powershell'
    import-pssession $Session
    Import-Module ActiveDirectory
    $host.PrivateData.ErrorForegroundColor = 'green'
    Clear-Host
    From My Workstation:
    PS C:\> Get-PSSession
     Id Name            ComputerName    State         ConfigurationName     Availability
      1 Session1        MyExchangeServer  Opened        Microsoft.Exchange       Available
    Why  does the command work on the server but not on the workstation?
    Alexis

    Hi Tiri2014,
    There are some differences between Remote PowerShell and Exchange Management Shell. You cannot use the pipeline when you run some cmdlets by using Remote PowerShell.
    Here’s a link to similar case for your reference:
    Error message when you try to pipe the result of a cmdlet into another cmdlet by using Remote Powershell in Office 365 dedicated: “The input object cannot be bound to any parameters
    for the command”
    http://support.microsoft.com/kb/2701827/en-us
    Hope it helps
    Best regards

  • The autofill feature worked on my iPad 2, but not on the New iPad. Anyone know why?

    The autofill feature worked on my iPad 2, but not on the New iPad. Anyone know why?

    Go to Settings>Safari>Auto Fill>On .... Names and Passwords>On .... Use Contact Info>On. Make sure that your contact information is correct.
    Then quit Settings and Safari completely and restart the iPad.
    Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    See if that helps.

  • Why would a rented movie work on the ground but not in the air?

    This is the craziest thing.  I rented a movie from my MacBook Pro and then transferred it to my iPad 2 for a flight.  However once I got on the plane each time I tried to open it I received a message that the movie could not be opened.  OK.  I figured I made a mistake in the transfer.  Once I got home I tried to open the movie again (in Airplane mode, just to be sure) and it loaded right up.  I didn't press play since I was leaving on another flight in two days.  Got on the flight and had the exact same problem.  Once I landed I tried it again and it loaded right up, but I didn't hit play because I have another flight on Friday.  What are the odds it will occur three times in a row?  I have 20 days left on the rental and about six more flights.  This could be fun.
    To lend a little irony to the situation the movie is "Up In The Air".  Anyone have any clue what the heck is going on?  The only variable among the two instances is that in the air I had headphones plugged in, but on the ground I didn't.

    Hi Dominique:
    First-if your mac can control the camera but not see the video,
    *Open Garageband
    *Play a note or two
    *Close Garageband
    *Open iMovie
    The camera will work now-REALLY!!
    If not, look here:
    http://docs.info.apple.com/article.html?artnum=43000
    Sue

  • TS1347 just recently my iphone is not syncing calendar to my macbook.  It has worked all along until about a week ago.  It does transfer new items from the computer to the iphone but not from the iphone to the computer.

    just recently my iphone is not syncing calendar to my macbook.  It has worked all along until about a week ago.  It does transfer new items from the computer to the iphone but not from the iphone to the computer.

    Plug you iPhone into your computer, select the iPhone, select the photos tab. Now check (not uncheck) the sync photos from... Select the folder where the photo came from, click apply then sync, now uncheck the sync photos box, click apply, it will ask you if you want to remove the photos click remove, it will not delete other photos exept the ones in the folder that was synced. Then click sync and the photos will be removed

  • My movies and music videos won't show up on screen, I can hear the sound but not see the video how do I fix this?

    My movies and music videos won't show up on my computer screen, I can hear the sound but not see the video how do I fix this? I'm not sure what to do as far as turning my purchased movie into DVD goes either. I just want to put the movie onto a DVD disc but my itunes won't even show that I have a blank disc in the drive, I'm not sure what is wrong or how to fix this, any help at all would be much appreciated.

    Hi @anthony7722 ,
    Thank you for your query, I will do my best to help!
    I grasp that you uninstalled the Intel graphic driver and the catalyst control.  You reinstalled the Intel driver and now you can view and hear videos on the Internet but you are unable to set the resolution as high as previously.
    When I checked the specifications for your notebook I see that you have switchable graphics.
    Here are two links that I believe will help.
    Overview of Switchable Graphics or Dual GPUs
    Switchable Graphics on Notebooks Configured with Intel and ATI GPUs
    Here is a link to HP Pavilion dv7-6150eb Entertainment Notebook PC Drivers
    Please try this process.
    1. Download the chipset driver, and both graphic drivers and save them  but do not install them yet
    2, Delete the chipset driver and install the updated one.
    3. restart your notebook
    4.Delete the Intel driver and install the updated one
    5. restart your notebook
    6. Delete the AMD driver and install the updated driver. 
    You should now have a Catalyst Control Center.
    This should now allow you to use the higher graphic card which should support the higher resolution.
    I hope this helped.
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • I can see iMovie in my dock and at the top of the computer but not on the screen.  What am I doing wrong?

    I can see iMovie in my dock and at the top of the computer but not on the screen.  What am I doing wrong?

    Uncheck the box marked Translucent menu bar in the Desktop & Screen Saver preference pane. If that doesn't work, see below.
    My toolbar at the top of my screen is suddenly blackened

  • Our IPod connects to the WIFi, but not to the internet.

    Our IPod connects to the WIFI, but not to the internet.  We have a wireless router which we connect our MACBOOK to the internet and our IPod.  The MACBOOK works fine, but not the IPod.  It shows to be connected to WIFI, but whenever we try to connect to an internet site i.e. Sarfari, we get an message "Safari cannot open the page becuase it is not connected to the internet".  We have tried rebooting, but it has not helped.

    Try:
    - Resetting the iPod. Nothing will be lost.
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Setting
    - iOS: Troubleshooting Wi-Fi networks and connections

  • TS3972 My Apple TV connects to the wifi but not to the internet.

    My Apple TV connects to the wifi but not to the internet. Currently using a D-Link Router and Shaw Cable in BC Canada.
    Apple says "Connections through proxy servers are not supported". Would that be Shaw? How can I update the ATV
    software without connecting to a TV and the internet? Can I connect it to my MacBook Pro? ATV worked very well in Arizona
    using CenturyLink as an ISP provider and their modem/router. ATV software is 5.0.

    What happens when you try to connect? I would contact your ISP

  • I've twice tried to use iTunes match. It stalls in step 2. I've rebooted my Mac computer and still stalls. Apple's taken the $25 but not delivered the service. Can I get some personal help?

    I've twice tried to use iTunes match. It stalls in step 2. I've rebooted my iMac computer and it still stalls. Apple's taken the $25 but not delivered the service. Can I get some personal help? There are 12,733 songs, a few dozen of which are not going to be in the Apple music library because they are unique to my collection. Also, some titled "Track XX" and no artist. I assume these would either not upload or else just be uploaded. But, after an overnight of step 2, the iTunes match program was still on song number 7384 or 12733 (it was on that number for over 12 hours). Looking in the music library, activating the iCloud icon and status fields, there were hundreds of songs with the status "waiting."

    Lmwilliamson wrote:
    Kernel panics:
    After taking my late 2009 15 inch macbook pro to the apple store, the genius completely erased my computer and reinstalled the Mac OS X software, but the problem still persists. 
    I also took it to my college tech support center, they tried to take the ram out and reinsert it and clean up the dust, but the problem still remains.
    I am able to use my computer in Safeboot mode (only)
    Well it could still be a software problem if you installed a third party program after the OS X wipe and install, because by booting into Safe Mode it disables certain functions of OS X and hardware. Check for updates or problems for all your third party software, include everything, including menulets, System Preference panes, hacks and so forth.
    If you restored any sort of software from backup like TimeMachine, it likely was corrupted data and now is returned.
    If the college tech support found a lot of dust clogging the rear exhaust vents behind the fans, then likely the heat damage done to the machine has already occured and can't be reversed. Video cards are usually first to go, which Safe Mode does disable the video card somewhat.
    Run through this list of fixes, it's systematic in nature, also has a Hardware Test to see what's going on
    ..Step by Step to fix your Mac
    Too bad this is occurring to a mere 4 year old machine, but dust will do that. Here is the culprit that Apple doesn't tell anyone about.

Maybe you are looking for

  • Saving data from loops to excel file.

    Hello all, Okay I am jammed up on this topic.   What I have is two while loops in parallel and I need to save the data from each loop in the same spreed sheet but on different pages.  I don't know if this is possible.  If not then just one spreed she

  • SQLCode - 1: Table '_^_^_22072007....._^_^_' not found

    This error occurs when inserting rows into a table which has dependant materialized view in SQLA12 db (see attached image for full details). Any ideas on why this is happening? This happens on 1 or 2 databases, the rest (90+) is working great. This i

  • I have a mew iphone 5, my earbuds from ipod dont seem to work in them? Is the new iphone 5 not capatible with ipod ear buds?

    i bought a new iphone 5, my ipod earbuds dont appear to work in the phone,, the stem eapears a diff length then the earbuds that came with the iphone5 ?

  • Problem with Bridge CC

    When I open my cr2 files in bridge cc they are opened in CS6 instead of in CC as before. I have recently uninstaled CS5 which I never use. Also when I open my jpeg files in bridge and photshop cc they are opened in another program. Please does anyone

  • Need help burning a DVD in Encore CS3

    I have a lengthy HD project that has been done in CS3 and exported to Encore as per instructions in the tutorial that came with CS3 and I'll be danged if I can figure out how to manipulate the chapter markers and subsequently burn a DVD. Is there any