zappsweden
Programmer
I am currntly using swing components except for Frame.
I always get 2-3 flickering when I switch frame so I was wondering how to get rid of them. I basically do
blablabla.setvisible(true)
and the flickering begins when the jPanels are added to my new Frame.
In my frame I have say 4 jPanels with some layOuts and then I add classes that extends jPanels to them so the 4 empty panels will be filled with some jPanels i have stored in other classes. One of my Frames doesn't flicker and that one is the that is entirely designed without using other "externally" jPanels.
Is there any problem with using swing components with Frame instead of JFrame?
Is JFrame better to use in general than Frame?
You can't double buffer a Frame, why?
I always get 2-3 flickering when I switch frame so I was wondering how to get rid of them. I basically do
blablabla.setvisible(true)
and the flickering begins when the jPanels are added to my new Frame.
In my frame I have say 4 jPanels with some layOuts and then I add classes that extends jPanels to them so the 4 empty panels will be filled with some jPanels i have stored in other classes. One of my Frames doesn't flicker and that one is the that is entirely designed without using other "externally" jPanels.
Is there any problem with using swing components with Frame instead of JFrame?
Is JFrame better to use in general than Frame?
You can't double buffer a Frame, why?