Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JPanel problem. Pls Heeelp me

 
Catalin
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello 2 all,

I'm trying to make a client-server application that transmits streams through the RTP Class from Java Media Framework.
In my application i want to use an applet that receives and shows the images reveived from the server. The problem is that my applet does not show any images ... Why ???
When I don't use applets the application runs perfect (The Panel is in a Frame)...
 
Joe Ess
Bartender
Posts: 9370
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Catalin.
We don't have many rules, but we like to have professional looking names displayed. Please change your displayed name to conform to our
naming policy. In short, your name must be a first name and last name, separated by a space and not obviously fake.
As for your problem, your best bet is to look at the java console and see if your code is throwing an exception. Be aware that an applet cannot connect to a server other than the one it was downloaded from unless it is digitally signed.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!