Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Applet window opeining without breaking the socket connection

 
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
 
I suggest huckleberry pie. But the only thing on the gluten free menu is this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic