• Post Reply Bookmark Topic Watch Topic
  • New Topic

JApplet and ResourceBundle

 
Stephan Bardubitzki
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
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • 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
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!