File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes applet start up failed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "applet start up failed " Watch "applet start up failed " New topic
Author

applet start up failed

kahkean chor
Ranch Hand

Joined: Jan 26, 2013
Posts: 56
can some one help to correct my code? my applet was hang due to line 06...


Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42599
    
  65
Using a ServerSocket in an applet has a bad smell. What are you trying to achieve?

But regardless, you should not do such stuff in the init() method - move it into its own thread, so that the init() method can return quickly.


Ping & DNS - my free Android networking tools app
kahkean chor
Ranch Hand

Joined: Jan 26, 2013
Posts: 56
multi chat room..........................
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42599
    
  65
For starters, I would use a JavaWebStart app for this, not an applet.

Is the applet properly signed? Otherwise, networking is pretty much a non-starter; using a ServerSocket definitely is.

I'm curious: Is there a central server involved somehow? If not, how will the clients get to know about one another?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: applet start up failed