I have heard quite a few times so as not to mix the components Swingand AWT(heavy and light).
But what if I say only one component showing on JFrameat a time. So far, what I saw, the main thing is that the AWTcomponents are always on top, but, as I said, if I only have one component at a JFrametime, what is important?
EDIT : all I need to do is draw with AWT Canvas. I use this for the game, so I will need it BufferStrategy.
So, I think, my question is: is there still a good reason not to mix components AWTand Swingeven if you only display one component at a JFrametime?
Also , I’ve only worked with him since Canvasin JFrame, so what are the benefits of switching to Swing?
in advance :-)
source
share