Hi again,
I’ve been fascenated since a long time about the fact how flexible the Java2d-API works.
1.) Its possible to create Swing-containers which are fully accerlated and you can still add native AWT widgets to it.
No magic when using motif also for the swing-conainers, but whats going on when the OGL pipeline is enabled, its still possible when using the MToolkit to add Motif-Widgets to an OGL accerlated window, same for the d3d-pipelines. WoW!
I’ve always asked myself how this is archived? Is the motif-button really added to the OGL window or does java create a seperate window over the OGL context?
2.) The same for AWT: You can create a completly AWT based application, if you add some lightweight components you get accerlation withought any problems.
Same here, is there for any lightweight widget in an heavyweight enviroment (e.g. Frame->Panel->JPanel->Panel->JComponent) a seperate accerlated context.
It would really make me happy to know how the whole magic is done, from time to time I can’t take my head away from such thoughts
lg Clemens