• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Applet signed, but no image shown

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi @ll,

when I run the code within Eclipse Plattform the Image is shown. Now I signed the created jar archive, but when i run on the embedded server no image is shown.

Why?

The necessary Code:
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
By

run on the embedded server


do you mean put the jar file on a server and access it with a web browser? Did you check the java console of said browser for an error message?
 
Constanze Michaelis
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I put the jar file to the server. When I access to it through the java browser i get no error report or anything else.

bye
Constanze
 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is the image file in the JAR? It should be. Check out the Java Tutorial chapter on How to use Icons. You can't just use a file name to create a JImageIcon because the contents of a JAR don't show up in the file system. The tutorial shows you how to get around that problem.
 
Constanze Michaelis
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the image is in the jar file. i will consult the tutorial again and then i hope to find the right answer

thanks for assisting

bye
Constanze
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic