• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

JApplet and ResourceBundle

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I experienced performance problems with one of my applets. Turning on tracing from the Java console reveals that, if I read the trace right, the ResourceBundle caused the classloader to check the network, but why?

Has anyone an answer?

Here is the trace ( is the same when I run the applet from the Internet ):


Any help is highly appreciated.

Stephan
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That does look strange. What does your applet tag look like? Is everything (especially the JFree libraries) inside of a jar file?
 
Stephan Bardubitzki
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I by my self use ResourceBundle in my applet and it is also causing network connections as you can see in the trace. JFreeChart is about 1.0 MB what is quit big for use in applets. From the source I extracted just the classes I need and included them in my root jar.

This is the html, I used the HtmlConverter:
 
Stephan Bardubitzki
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is a known bug and is solved in Mustang.

Sun Bug Database
reply
    Bookmark Topic Watch Topic
  • New Topic