Compatibility problem (or?)

(hey ho, I'm a complete newbie)
I wrote a client-server pair in java (or rather, I more or less copied code from the tutorial). The client is an applet. Now, the client works splendid for me, but (as so often) it doesn't work at all for my friends. They all have java installed, and they can run other (and much more complex) applets, so what could be the problem? I'll just post the code so that you can see for yourselves (and yes, I know it looks horrid, it's just a test; I'm a complete newbie, remember?)
import java.io.*;
import java.net.*;
import java.applet.Applet;
import java.awt.TextField;
import java.awt.TextArea;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
public class KFClient extends Applet implements ActionListener, Runnable {
     Thread com;
     Socket socket = null;
     PrintWriter out = null;
     BufferedReader in = null;
     String response;
     TextField inputField;
     TextArea displayA;
     public void init() {
          inputField = new TextField(60);
          inputField.addActionListener(this);
          displayA = new TextArea(20, 60);
          displayA.setEditable(false);
          add(inputField);
          add(displayA);
     public void start() {
          if (com == null) {
               com = new Thread(this);
          com.start();
     public void run() {
          try {
               socket = new Socket("x.x.x.x", 4444);
               out = new PrintWriter(socket.getOutputStream(), true);
               in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
               while ((response = in.readLine()) != null) {
                    displayA.appendText(response + "\n");
                    if (response.equals("/quit")) break;
               out.close();
               in.close();
               socket.close();
          } catch (Exception e) {
                        displayA.appendText("ok, something went wrong!");
     public void actionPerformed(ActionEvent e) {
          out.println(inputField.getText());
          inputField.setText(null);
}

Ask your friends to turn on the java console in their browsers.
Then they can see the error messages and report them back to you.

Similar Messages

  • Are There Compatability Problems Wtih Adobe Photoshop CS2 On The Windows Portion of iMac?

    I understand that there are compatability problems with CS2 and lower vesions of the creative suite in relation to Leoapard OSX. Are there any compatability problems with CS2 for Windows if I install it on the Windows (using XP) partition of an iMac that uses the Leopard OSX?
    Please advise. Thanks.

    If its not running in Leopard you should be fine.
    don't confuse running PowerPC software in Rosetta (PPC emulation) with running CS2 in XP which is native. It like apples and oranges. there is nothing in common.

  • HT5085 I would like to upload my music library from my PC to the Cloud through iTunes Match.  I also will be purchasing a Mac in the near future and would like to download some of that music from iCloud to my Mac.  Will I have compatability problems?

    I would like to upload my music library from my PC to the Cloud through iTunes Match.  I also will be purchasing a Mac in the near future and would like to download some of that music from iCloud to my Mac.  Will I have compatability problems?

    You should have no problems. To add a second computer or device to iTunes Match, see:
    http://support.apple.com/kb/ht4913
    Regards.

  • I've been using Elements 10 on my windows 7 machine editing RAW/NEF picture files taken with a Nikon D40X camera with no problems. I upgraded my camera to a Nikon DX7100 and can no longer load my RAW/NEF into elements 10. Is there a compatability problem

    I've been using Elements 10 on my windows 7 machine editing RAW/NEF picture files taken with a Nikon D40X camera with no problems. I upgraded my camera to a Nikon DX7100 and can no longer load my RAW/NEF into elements 10. Is there a compatability problem with my new camera? Will upgrading elements to a newqer version solve the problem?

    NEF's for the D7100 should work with the latest version PSE13
    You can download here and try free for 30 days:
    https://www.adobe.com/cfusion/tdrc/index.cfm?product=photoshop_elements&loc=us&PID=2159997 #

  • Replacing Firefox 3.6.16 containing my history, bookmarks etc by version 4.0, I find that it will not open on my Mac Power PC G4 running on OS 10.4.11. Is there is a compatibility problem and how do I retrieve version 3.6 with my bookmarks etc

    Replacing Firefox 3.6.16 containing my history, bookmarks etc by version 4.0, I find that it will not open on my Mac Power PC G4 running on OS 10.4.11. Is there is a compatibility problem and how do I retrieve version 3.6 with my bookmarks etc.

    Firefox 4 requires at least OS X 10.5 and an Intel Mac. There is a third party version of Firefox 4 that runs on OS X 10.4/10.5 and PPC Macs, for details see http://www.floodgap.com/software/tenfourfox
    If you prefer, you can get the latest version of Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html
    When you install one of the above it will use your existing bookmarks etc

  • Wierd monitor compatibility problem

    Hi all,
    Got a wierd monitor compatibility problem. G3 works fine on a sony 21" CRT.
    Connected it to a Daytec 15" CRT which works fine with a windows 98 PC.
    With the G3 I get the apple and the spinning up logo then the screen just goes blank.
    Is this monitor PC only or something? It is an old monitor but I thought any monitor should work
    if the vga connector fits?

    So you are using this directly plugged into the stock Display card in a Blue & White G3 with NO adapter?
    The Mac is probably still set for a higher resolution that the SONY can do, and has not noticed the display has changed.
    Video pros says that Video can be plugged and unplugged all day long with no bad effects. If your old display is still around, try setting it to 640 by 480, save changes, and swap the other one in "live" at that resolution.
    Other tricks:
    Reset the PRAM. This will send you back to a default setting while booting up, but may change when the system becomes active.
    Boot from a CD. This ignores the settings on your Hard drive, and boots to a very simple resolution like 640 by 480 to ensure that Most Macs can start up with it.

  • Windows Media Player 11 is needed for video on fav website, but version for firefox isn't working. Is this a compatability problem with Windows 7?

    My favorite jewelry website requires a plug-in to operate. Installation of the plug-in is offered, but will not download and function. Is this a compatibility problem for Windows 7?

    Link to that site please.

  • How can I Download Adobe Acrobat 7 Standard (needed due to a compatibility problem)?

    How can I Download Adobe Acrobat 7 Standard (needed due to a compatibility problem)?

    Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3

  • Shockwave player updates: graphics card compatibility problems?

    I've recently had a new problem reported to me in the Driveway Visualiser, a piece of Shockwave 3D content that I've been maintaining since we built it in 2008.  I'm wondering if  recent updates to the Shockwave Plugin (e.g. 11.5.8.612) may be contributing to this...
          www.marshalls.co.uk/transform/driveway_visualiser/dv.asp
    So I'd be interested to know if anyone else has had any new problems affecting old content. I tried reverting the dcr file to last year's version but the same problem still occurs, so it doesn't seem to be a recently-added bug in my code.  I think it could be either a compatibility problem between the graphics card and the plugin, or between the Director 11.0 dcr and the Shockwave 11.5 web player.
    Because we need the DirectImage Xtra, it's Windows only.  For  each different computer that we've tested, the Driveway Visualiser (DV) will either always  work or always fail on that machine - regardless of whether IE or  Firefox is used.  All the test machines have DirectX 9.0c; all are  running Win XP SP3 apart from one laptop with SP2 and Intel 965 chipset  on which the DV fails.  Only one has Director (11.0) installed, and on  that the DV always works.  The problem is much more common on laptops,  so we reckon that Shockwave's ability to interface with the various  graphics cards might be the reason why it's not getting the image  property of a 3D cast member.
    So here's what's actually happening:
    When you get to step 4 of the DV, after you've drawn round the shape of your driveway, it tries to grab the image of a 3D cast member referred to by the  variable gWorldMember, and fails with the "four parameters expected" error message, on  this line of code...
          zoomAfterImage.copyPixels(gWorldMember.image, zoomAfterImage.rect, gWorldMember.image.rect)
    gWorldMember.image is being returned as <image:0> (not a usuable  image) and so its rect property does not exist, hence the crash.  This  line of code crashes whether or not there's a sprite of the relevant 3D  member on the stage at the time.  The member's defaultRect has been  temporarily changed so we can grab a 1024x1024 image off it.  Using  copyPixels, this image is resized down to the size of the zoomAfterImage  image variable (again 450x450).  This gives us an image at the original  size of 450x450, but with a softer image quality than if we'd grabbed  it from the 3D member at that size.
    Is anyone suffering similar problems or aware of what Adobe has been changing in the player?  At the moment I just don't see how I can fix this by changing my code...

    I had wondered if there was a clash between the Director 11.0 dcr and the Shockwave 11.5 player, so I downloaded the Director 11.5 trial and re-published it using that.
    It didn't make any difference, so I'm left with my original suspicion that Shockwave is failing to interface with certain graphics hardware setups via directX, when it tries to read the image property of a 3D cast member.

  • Compatibility problem with macro media flash active control

    I am getting a message on my screen "compatibility problem with macro media flash active control, it isnt compatible with my version of windows (vista).  How can this be fixed?  why am I suddenly getting it now?  I have the latest Adobe flash player installed.
    Trisha

    the latest flash is probably the problem... it's seems that the latest flash has been causing a boat load of issues. i did a system restore to undo the flash and mozilla upgrades and it's still crashing but not as bad as it was with the upgrades.

  • Plug-in 5.8.0 Compatibility Problem with Pr 8.2

    Hi Guys
    I'm running Win7, SP1 with a NVidia Quadro FX 3800 card. Is it me or is CC2014 a bug laden step backwards?
    Apart from the serious CUDA issue users are facing, since a couple of updates ago I get a compatibility problem. Whenever I try to launch Audition or AE (or even SmartSounds) from an open Pr project, I get an error message saying "Premiere Pro version 8.2 is not compatible with Premiere Pro Plug-in version 5.8.0." The issue first appeared in 8.1.
    Has anyone else faced this issue and how can I resolve it (before I throw in the towel and go back to CS5!?)
    Regards,
    Graham

    Thanks, Ann. I hadn't realised there was a 5.8.1 update, which seems to have solved the problem (I thought it was something deeper as the error appeared when I tried to open AE through the DL.

  • Compatibility problem windows7- 64 bits and oracle 8

    I have a compatibility problem with windows 7 and 64 bits and oracle 8 client
    the data server is also version 8
    What type of client is compatible with oracle 8 and 64 bits?
    or any solution to the problem.
    I use the client to run a desktop application
    thanks

    Oracle 8 client is not certified on Windows 7. Client 10.2.0.5 is compatible with Oracle 8 and is certified on Windows 7 too.
    To install 10.2.0.5 client, please refer to the MOS document.
    How To Install Oracle 10.2.0.5 Client Software on Windows 7 (32 or 64-bit) and Windows 2008 R2 (64-bit) (Doc ID 1316079.1)

  • Audition 3 compatability problems in Windows 7 64bit?

    Hello,
    I'm having a very strange problem with Audition 3 burning CDs in Windows 7 64bit.
    On most occasions the first track is not playable in my CD player (Arcam CD-192) although other tracks do play.
    Sometimes only one track on the disc is playable and at other times the player can't load the disc at all.
    Is there a compatability problem with this OS?  If so can it be handled in some way?
    Please help if you can.
    Thanks for your consideration,
    cobaltgreen

    Yes it did play on the computer drive on which it had been made, but this is a really maddening problem.
    Yesterday I updated the firmware for  the optical drive in question (PLDS DVDRWBD DH-6E2S) and then, after that,  Auditon did produce a disc that played perfectly on my CD player.
    Today I made another disc  with the same drive and it didn't even load into the player.
    Huh??
    It seems to me that one should be able to expect the same results from a drive every time.
    I wish I could speak with the manufacturer of the drive but I have no idea who that might be.

  • Is there compatibility problem with updating OS-X Lion to new Mountain Lion?

    is there compatibility problem with updating OS-X Lion to new Mountain Lion?

    http://www.apple.com/osx/specs/

  • Within last week I am unable to log on to Bank of America online banking. I have followed all suggested prior recommendations to the best of my ability but problem persists. BofA first told me it was a compatibility problem they were having with Mozilla

    I cannot log onto Bank of America website from Firefox. This problem started recently. At first BofA said they have a compatibility problem with new version of Firefox. Then they say no, it's a Firefox problem. I've tried the solutions listed in prior threads but none work. I have no problem logging onto BofA via IE.
    == URL of affected sites ==
    http://www.bankofamerica.com

    I got this problem when I upgraded to ver 3.6.12 from 3.6.11. I called BofA and after half an hour on phone, they told me to try using another browser. I used Intenet Explorer & they couldn't find the BofA site either. BofA had been told the problem was with any Firefoz version of 3 or higher. After I got off the phone with BofA, I downloaded an older version that I had been using without any problems & installed that.(3.5.15) That didn't work either.
    If the problem is with Firefox, why can't Internet Explored find the site either?

  • Windows 8 reports compatibility problems boot camp 4

    Good evening.
    My problem is that every time I boot up my Boot Camp Windows 8 partition, I get the dialog box stating that there are compatibility problems with Boot Camp 4. I am given the option to use the partition anyway, but I'm puzzled why this just began to appear, when I have been using Boot Camp 4 with a 32-but install of Windows 8 for several months now,,,
    Any help would be appreciated.
    Thanks!

    Having the exact same issue on my MBPr 15!

Maybe you are looking for