Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet window opeining without breaking the socket connection

 
Rakesh Kumar
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dear friends,
I am doing one GUI project which loads an applet and opens a socket connection to server which a c++ module and apache webserver is in middle between webbrowser and the webserver in c++.
Problem is like this, i will open an applet in the sceren and opens a socket connection and receives events and show in applet as table.And there is one 'popout' button to make the applet opens as a window. and continue the existing socket connection and show the received events. But when i tried to open in a new window, and I am able to provide the ip address and port for opening a socket connection it shows exception as "connection refused."


Actually I know how to open in a new window.it is working.Any of you have any idea , how we can project and applet without breaking existing socket connection and opens in a window? Please share your idea and thought about this ASAP.

Thanks in advance
rakesh
 
Rakesh Kumar
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually what i want is project the applet frame without disturbing the socket connection in it. Dear friends if you have any idea pleaseshare ASAP.

Thanks in advance
Rakesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic