2 ms·
Could this be because of the double-buffering[1] that Swing is doing? I can't find any setting to turn it off, but you can do it in code[2] with a method on Rep
by ptx 5y ago
Could this be because of the double-buffering[1] that Swing is doing? I can't find any setting to turn it off, but you can do it in code[2] with a method on RepaintManager.
[1] https://docs.oracle.com/javase/8/docs/technotes/guides/swing/enhancements-6.html#DoubleBuffering https://docs.oracle.com/javase/8/docs/technotes/guides/swing...
[2] https://docs.oracle.com/javase/8/docs/api/javax/swing/RepaintManager.html#setDoubleBufferingEnabled-boolean- https://docs.oracle.com/javase/8/docs/api/javax/swing/Repain...