Is there any problems in IE if using RMI.?

Hello buddies,
this is my 3rd attempt to get answer. before it i tried 2 times but didn't get answered.
actually i m making a chat application. in that there is a canvas on which we can draw something and send it to all users. i make an applet and from within the applet i m calling a frame. all this awt components like canvas and buttons etc. displays in the frame. applet is just a platform do call the frame. i m using RMI to do the chat. i tried to run it first in appletviewer and it works fine. but when i tried to run in IE from <applet> tag no frame is displays. i am trying to solve it from last 20 days but still unsolved. here is the code if anybody wishes to try it.
// clinet frame...
import java.rmi.*;
import java.rmi.server.*;
import canvas.Drawer;
import java.awt.*;
import java.applet.*;
import java.applet.Applet;
import java.awt.event.*;
import java.util.*;
import ru.zhuk.graphics.*;
/*<applet code="ChatClient" width=600 height=300>
</applet>
public class ChatClient extends Frame implements IChatClient,ActionListener,MouseListener,MouseMotionListener
     // GLOBAL VARIABLES USED IN THE PROGRAMME...
     boolean flag=false;
     int n;
     String str="";
     String Coord=null;
     IChatService service=null;
     FrameApplet fa=null;
     TextField servername,serverport,username;
     Button connect,disconnect;
     TextField message;
     Button send,sendText;
     TextArea fromserver;
     int i=0,j=0;
     int x[] = new int[1000];
     int y[] = new int[1000];
     Drawer canvas;
     boolean connected=false;
     String title,user="";
     // Class Members //
     public ChatClient()
     public ChatClient(String str)
          super(str);
          setBounds(50,20,600,450);
          setLayout(new FlowLayout(FlowLayout.CENTER,45,10));
          title=str;
          setStatus();
          // Create controls //
          add(new Label("Chat Server Name : "));
          servername=new TextField(20);
          add(servername);
          servername.setText("localhost");
          add(new Label("Chat Server Port : "));
          serverport=new TextField(20);
          add(serverport);
          serverport.setText("900");
          add(new Label("Your User Name : "));
          username=new TextField(20);
          add(username);
          username.setText("Umesh");
          connect=new Button("Connect");
          connect.addActionListener(this);
          add(connect);
          disconnect=new Button("Disconnect");
          disconnect.addActionListener(this);
          add(disconnect);
          message=new TextField(30);
          add(message);
          sendText=new Button("Send Text");
          sendText.addActionListener(this);
          add(sendText);
          fromserver=new TextArea(10,50);
          add(fromserver);
          fromserver.setEditable(false);
canvas = new Drawer();
          canvas.setSize(250,250);
          canvas.setBackground(Color.cyan);
          add(canvas);
          canvas.addMouseListener(this);
          canvas.addMouseMotionListener(this);
          send=new Button("Send");
          send.addActionListener(this);
          add(send);
          try
               UnicastRemoteObject.exportObject(this);
          catch(Exception e)
          setVisible(true);
          for(j=0;j<1000;j++)
               x[j]=0;
               y[j]=0;
          Coord = new String();
          Coord = "";
//          fa=new FrameApplet();
     public void mousePressed(MouseEvent me){}
     public void mouseReleased(MouseEvent me)
          Coord = Coord + "r";
     public void mouseClicked(MouseEvent me){}
     public void mouseEntered(MouseEvent me){}
     public void mouseExited(MouseEvent me){}
     public void mouseDragged(MouseEvent me)
          if (Coord == "")
               Coord = me.getX() + "," + me.getY();
          else
               Coord = Coord + " " + me.getX() + "," + me.getY();
     public void mouseMoved(MouseEvent me){}
     // RMI connection //
     private void connect()
          try
               service = (IChatService)Naming.lookup("rmi://pcname/ChatService");
               service.addClient(this);
               connected=true;
               setStatus();
               user=username.getText();
               Coord = "";
          catch(Exception e)
               fromserver.append("Error Connecting ...\n" + e);
               System.out.println(e);
               connected=false;
               setStatus();
               service=null;
     private void disconnect()
          try
               if(service==null)
                    return;
               service.removeClient(this);
               service=null;
          catch(Exception e)
               fromserver.append("Error Connecting ...\n");
          finally
               connected=false;
               setStatus();
     private void setStatus()
          if(connected)
               setTitle(title+" : Connected");
          else
               setTitle(title+" : Not Connected");
     // IChatClient methods //
     public String getName()
          return user;
     public void sendMessage(String msg)
          fromserver.append(msg+"\n");
     public void SendCanvasObject(String str)
          this.str = str;
          fromserver.append(str + "\n");
          Graphics g = canvas.getGraphics();
          paint(g);
     // Actionlistener //
     public void actionPerformed(ActionEvent e)
          if(e.getSource()==connect)
               connect();
               if(connected)
                    servername.setEnabled(false);
                    serverport.setEnabled(false);
                    username.setEnabled(false);
                    connect.setEnabled(false);
                    Coord = "";
          else
          if(e.getSource()==disconnect)
               disconnect();
               servername.setEnabled(true);
               serverport.setEnabled(true);
               username.setEnabled(true);
               connect.setEnabled(true);
          else
          if(e.getSource()==send)
               flag = true;
               if(service==null)
                    return;
               try
                    fromserver.append("Sending an image...\n");
                    service.SendCanvasObject(this,Coord);
                    i=0;
                    for(j=0;j<1000;j++)
                         x[j]=0;
                         y[j]=0;
                    Coord = "";
                    fromserver.append("\n" + "Image Sent...");
               catch(RemoteException re)
                    fromserver.append("Error Sending Message ...\n" + re);
               catch(Exception ee)
                    fromserver.append("Error Sending Message ...\n" + ee);
          else
          if(e.getSource()==sendText)
               if(service==null)
                    return;
               try
                    service.sendMessage(this,message.getText());
                    message.setText("");
               catch(RemoteException exp)
                    fromserver.append("Remote Error Sending Message ...\n" + exp);
               catch(Exception ee)
                    fromserver.append("Error Sending Message ...\n" + ee);
     public void paint(Graphics g)
          if(flag==true)
               i=0;
               StringTokenizer stoken = new StringTokenizer(str,"r");
               String strin = "";
               while(stoken.hasMoreTokens())
                    strin = stoken.nextToken();
                    fromserver.append("\n" + strin + "\n");
                    StringTokenizer stoken1 = new StringTokenizer(strin," ");
                    String strin1 = "";
                    j=0;
                    while(stoken1.hasMoreTokens())
                         strin1 = stoken1.nextToken();
                         fromserver.append("\n" + strin1 + "\n");
                         x[j]=Integer.parseInt(strin1.substring(0,strin1.indexOf(",")));
                         y[j]=Integer.parseInt(strin1.substring(strin1.indexOf(",")+1,strin1.length()));
                         j++;
                    for(int k=0;k<j-1;k++)
                         g.drawLine(x[k],y[k],x[k+1],y[k+1]);     
               i++;
import java.rmi.*;
import java.rmi.server.*;
import canvas.Drawer;
import java.util.*;
import ru.zhuk.graphics.*;
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class FrameApplet extends Applet implements ActionListener
     ChatClient f;
     public void init()
          Button b = new Button("Start Chat");
          b.addActionListener(this);
          add(b);
     public void actionPerformed(ActionEvent ae)
          f=new ChatClient("Chat");
          f.show();
          f.setSize(400,400);
here is html file which i calls from IE
<html>
<title>Micky Chat</title>
<body>
<br>
<br>
<center>
<applet code="FrameApplet.class" width=200 height=200>
</applet>
</center>
</body>
</html>
and at last a shocking thing is it is runs in Netscape displaying frames but not calling paint method.
pls. help me
thanks a lot
umesh

Hi Umesh!
Sorry that I cannot be too concrete about that since it has to be centuries ago when I fell over this problem.
As far as I can remember, the JDK provided by MS has no RMI built-in. These was probably one of the main reasons why Sun sued Microsoft concering its handling of Java.
Afterwards MS released a path for its Java Runtime that included RMI support, but AFAIK they never included it in the standard package. So much luck when searching for the ZIP! (-;
A little bit of googling might help, e.g.:
http://groups.google.com/groups?hl=de&lr=&ie=UTF-8&oe=UTF-8&threadm=37f8ddf6.4532124%40news.online.no&rnum=17&prev=/groups%3Fq%3Dmicrosoft%2Bjvm%2Brmi%2Bsupport%26start%3D10%26hl%3Dde%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3D37f8ddf6.4532124%2540news.online.no%26rnum%3D17
cheers,
kdi

Similar Messages

  • Are there any problems using a back cover.

    I want to protect the back of my iPad from scratches. Are there any problems using a skin or cover on the back?

    Is it  ok to cover the back of iPad 2? Won't it affect the cooling system? Coz I don't see any ventilation point and it may be the back metal plate itself which brings out the heat. I purchased a "Targus" back cover from apple store and it fits perfectly and beautifully also very comfortable to handle but I removed it thinking that it might harm., also Apple hasn't introduced any sort of back cover either, only the smart cover for the screen they have, may be coz the back is designed to be open to the air.

  • Are there any problems using an ipad imported to the UK from korea?

    Are there any problems buying an Ipad in South Korea to use in the UK?

    Me too - its a possible gift and (like most things) iPhones are cheaper in the states than in Canada.  
    I'm assuiming these phones are universal.  But i'd rather know before buying. 
    Thanks

  • ¿Is there any problem to use Nightly version of Firefox as default browser?

    I am testing the Australis theme of Firefox and I like it so much that I want to use it as my default browser, instead of the Firefox stable version.
    Is there any problem related to security with doing that? I know this version isn't stable at all, but this does not matter for me right now.
    Thank you very much! :)

    Note that the Nightly build gets updated daily (and sometimes more than once in case of a respin) and it is always possible that something goes wrong and it doesn't work properly, so be prepared for issues if you decide to stay with the Nightly build and make sure to have the current release with its own profile installed as well in case of problems.
    See also:
    * http://kb.mozillazine.org/Testing_pre-release_versions
    *http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    *http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    *http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • Using apple iphone 5, i observe today that display shows yellow border when i choose option in setting as erase all content and setting, iphone goes in to starting mode, i want to know is there any problem to display, plz give me feed back urgently

    using apple iphone 5, i observe today that display shows yellow border when i choose option in setting as erase all content and setting, iphone goes in to starting mode, i want to know is there any problem to display, plz give me feed back urgently

    I had this same thing happen to me.  I was using my brand new iphone 5 (texting and listening to music through the speakers) when it flashed the apple logo, stopped my music and brought me to the lock screen. 

  • Are there any problems with Snow Leopard Server (Xserve) and PPC Clients

    Hi,
    are there any problems identified yet with Snow Leopard Server, installed on a Xserve and PPC Clients running Mac OS X Tiger and Leopard?
    Currently I have a Xserve Intel running Leopard Server and about 12 Mac Minis PPC running Mac OS X Tiger and Mac OS X Leopard. The Xserve serves services like DNS, OpenDirectory, Software Update Server, NetBoot, etc. All users have Home Directories stored on the Xserve.
    Now I want to install Snow Leoaprd Server on the Xserve, but I wonder if there are any problems using the PPC Clients? I have read something like this on a german website.
    Thanks!

    We've actually found that the Server 10.6.3 DVD does an amazingly smooth job of upgrading 10.5.8. We've been upgrading our production servers and nothing has gone wrong yet. Snow Leopard employs an archive and install method of upgrading which results in an install which is very close to a clean install. So it's been very convenient for us because our servers are used as Windows PDCs and it's a pain in the *** to have to re-join all PCs to the domain if we start from scratch.

  • Are there any problems with motion menus and buttons in DVDSP 2 on OS 10.4?

    I have not used DVD Studio Pro 2 since upgrading to Tiger but it appears to no longer be showing moving motion on menus and buttons.
    Are there any problems that I should be aware of when using DVDSP2 on OS 10.4?
    I have not upgrade to a newer version only because I do not have any HD software to create DVDs.
    Thanks
    Paul

    New Discussions ReponsesThe new system for discussions asks that after you mark your question as Answered, you take the time to mark any posts that have aided you with the tag and he post that provided your answer with the
    tag. This not only gives points to the posters, but points anyone
    searching for answers to similar problems to the proper posts.
    If we use the forums properly they will work well...

  • Is there any problem after buying ipod touch?

    guys I am going to buy an Ipod touch now in April I have a question that is there any problem after I take a new ipod touch or will I get any lag using it and plz tell me which storage size should I take as my usage is four to 5 games, itunes u,50 songsand some movies?????

    At least 32GB, as with any new electronic device, get the most advanced you can afford, you can't add any more space or features after you bought the device.

  • Is there any problem about 10I oracle connect to 9I oracle  in BW

    we want to know about
    creating a new source system on BW in AIX pointing to an Oracle
    database, bw oracle use 10i database , connect to
    9idatabase(Windows) to get data for BW,
    can you tell me how 10I oracle connect to 9I oracle ??
    is there any problem about 10I oracle connect to 9I oracle ??If
    there exit problem ,how to deal with it ??
    Thank you
    ALLEN ZHOU

    Hi
    You may face some problem in BASIS side especially if one version is Open SQL and other in Old SQL
    Regards
    N Ganesh

  • Is there any problems in iphone 5 wifi? others connecting but mine is not.. sometimes depends on distance!

    is there any problems in iphone 5 wifi? others connecting but mine is not.. sometimes depends on distance! help pls

    Hello Angelver22,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/ts1398
    Unable to connect to a Wi-Fi network
    Verify that you're attempting to connect to your desired Wi-Fi network.
    Make sure you're entering your Wi-Fi password correctly. Passwords may be case sensitive and may contain numbers or special characters.
    Reset network settings by tapping Settings > General > Reset > Reset Network Settings. Note: This will reset all network settings including:
    previously connected Wi-Fi networks and passwords
    recently used Bluetooth accessories
    VPN and APN settings
    Have a nice day,
    Mario

  • Is there a problem with Apple Mail using IMAP

    Is there a problem with Apple Mail using IMAP?  Having a problem syncing to our mail server: doesn't sync properly when multiple devices use same mail acct.  Spoken w/ mail hosting provider who says Apple Mail doesn't follow IMAP protocol properly leaving Apple Mail users to experience a variety of problems when connecting to IMAP accounts.  Among them:
    - Improper syncing
    - Proliferation of drafts during composition of an email.
    - Connections on the mail host do not close automatically and proliferate over time until the host rejects further connection requests.
    Hosting provider goes on to suggest turning off IDLE command.  In my experience turning this feature off did not improve the situation.  In fact, it created a few.
    Question: Is the hosting provider correct in faulting Apple Mail?
    Been fielding the question with a number of people.  I'm aware of three people who are experiencing similar problems, each using different mail hosts.  Tech reps at inmotionhosting.com and nexcess.com point the finger at a Apple Mail, along with an IT specialist in Los Angeles, CA, and a tech support rep at an Apple Store in Arizona who said that Apple and Google mail are aware of and coordinating to resolve the problem.
    Anyone out there have any insights into this?

    Is there a problem with Apple Mail using IMAP?  Having a problem syncing to our mail server: doesn't sync properly when multiple devices use same mail acct.  Spoken w/ mail hosting provider who says Apple Mail doesn't follow IMAP protocol properly leaving Apple Mail users to experience a variety of problems when connecting to IMAP accounts.  Among them:
    - Improper syncing
    - Proliferation of drafts during composition of an email.
    - Connections on the mail host do not close automatically and proliferate over time until the host rejects further connection requests.
    Hosting provider goes on to suggest turning off IDLE command.  In my experience turning this feature off did not improve the situation.  In fact, it created a few.
    Question: Is the hosting provider correct in faulting Apple Mail?
    Been fielding the question with a number of people.  I'm aware of three people who are experiencing similar problems, each using different mail hosts.  Tech reps at inmotionhosting.com and nexcess.com point the finger at a Apple Mail, along with an IT specialist in Los Angeles, CA, and a tech support rep at an Apple Store in Arizona who said that Apple and Google mail are aware of and coordinating to resolve the problem.
    Anyone out there have any insights into this?

  • Is there any problem for my iphone's battery to keep my charger connecting for few hours after the battery is full?

    s there any problem for my iphone's battery to keep my charger connecting for few hours after the battery is full?
    Sometimes i sleep and the my iphone is charging and of course the battery became full after two or three hours, and definitely i will not wake up in the midnight to just disconnect the charger, please i need your help.

    This is considered normal use. I think everybody does this, including myself. It's not something to worry about in the least bit.
    Just remember to complete a full charge cycle (allow the phone's battery to discharge to 10%-20%, then charge uninterruped to 100%) once a month and you'll be fine.
    http://www.apple.com/batteries/iphone.html

  • Are there any problems running oracle database express 10g and iis together

    Are there any problems running oracle database express 10g on an windows 2000 server or advanced server running iis 5?
    Does oracle database express cause any conflicts with iis (because of used ports etc)
    Could an server have running on it, both an website using iis and an oracle database express website without conflicts?

    I would not expect a problem under normal circumstances.
    Oracle's listener is set for a default port 1521 for database requests, port 8080 for HTMLDB requests. The database connections generally find an empty port above 1024 when establishing a connection.
    So, if IIS does not want to use 1521 or 8080, you will generally see no challenges. Even then it is fairly easy to move ORacle's port requirements elsewhere.
    Using port 8080 seems reasonably common, but that is easily changed - search for sethttpport in this forum. IIS tromping on 1521 would be rare as it has been a well known Oracle service port since, roughly, forever.

  • HT1766 I have an ipad3(wifi +cellular). Now i want to upgrade my iOS5.1 to ios 7. But download speed in our country is too slow(100kbps). It can be disconnected anytime. Is there any problem if net connection get disconnected while upgrading ios? Please a

    I have an ipad3(wifi +cellular). Now i want to upgrade my iOS5.1 to ios 7. But download speed in our country is too slow(100kbps). It can be disconnected anytime. Is there any problem if net connection get disconnected while upgrading ios? Please ans me.

    There is something Definitely wrong with iOS 7 regarding DATA USAGE being logged to wireless carrier in for WIFI instead.
    I read all the previous replies and same issue.
    I rarely use my mac to sync....its all wifi sync for the last 2 years....never had this issue before... and i know it began with iOS7.... here is why....
    My iPhone was at home when I updated to iOS7 connected to wifi...but it logged Data Usage to Rogers Wireless (700MB approx)...data will never do an update over 50mb in app store (it gives the warning to use wifi) I play a lot of games and pay for them so I always update through App Store.  2 weeks later, simposons halloween update (650mb)...at home, using wifi.
    Rogers told me there was 700+mb data usage on the day of update and 650+mb data on oct 1.st (tapped out).
    Went over my 6GB plan and paid the fees.
    This has never happened before...It must come to apples attention by now...

  • What,s the reason to stop iphone 5?? Is there any problem with that phone?? Because still 4s is in market but iphone 5 is stopped.... What,s wrong with apple??

    Why apple stoped iphone 5? What's the reason?? Is there any problem with that phone... Because iphone 4s is still in market.. But they stopped iphone 5.. What's wrong with iphone 5????

    It was replaced by the iPhone 5C, which is essentially the same phone except for the case, better LTE converage and a larger battery.

Maybe you are looking for

  • I'm able to view all files on a new external hard drive except the ones in the itunes folder?

    Hello can anyone help with this... I recently had an external 500 gig Western Digital that stopped working.  I took to store and had them transfer the data onto a new external portable hard drive (1.5 gig)  At store they hooked up to Mac Book and sho

  • PI 7.1 HTTPS Communication

    Hi PI Experts, We are enabling HTTPS communication in PI 7.1 EHP1 using CIDX adapter. We have nearly completed settings after going through several threads and sap help documentation. 1. Defined SSL parameters in RZ10 (ssl/pse_provider = Java and oth

  • Flash builder 4.6 flex for mobile with mysql php and json

    I am trying to create an app that get data from online mysql server via php service and displays the data in a list I have been looking all over the internet but had no success in finding a working tutorial and i am frustrated can anyone help or dire

  • StreamCorruptedException

    Hi, I'm trying to send serialized objects over socket connection, see the code snippet below. import java.io.*; import java.net.*; public class Test2 { private ObjectOutputStream oos; private ObjectInputStream ois; private Socket s; public Test2(Stri

  • Hit the application loader button and I accidentally removed everything from my phone.

    When I turned my computer on, the Blackberry Desktop Manager popped up.   I hit the application loader button and it completely deleted everything that was in my phone.  Is there anyway to get my information back.  I assume it is somewhere in my comp