Hi there!
I am using a pure java toolkit (not swing) which still renders for compatibility to 1.1-jvms all the lightweight stuff into an AWT-Frame (actually it renders into a AWT-Panel is added to the Frame).
For me it would be interresting how much overhead this causes in modern JVMs, since I think the JRE has to do some extra stuff to be compatible or that it cant accerlate AWT-heaviweight components not as good as leightweight ones.
Here are my questions g :
- Does this cause any overhead?
- Would it help to add the AWT-Panel to a JFrame insteadof Frame?
- Does one AWT component slow down the whole rendering pipeline?
Thanks in advance, lg Clemens