Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

JApplet and ResourceBundle

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • 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: 43016
76
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • Quote
  • Report post to moderator
It is a known bug and is solved in Mustang.

Sun Bug Database
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic