I am trying to create my own extension BasicSliderUI. I'm just trying to make my thumb circle around (note that I'm on Windows L & F). I created a very simple implementation that just calls g.drawOval, but whenever I drag it, it leaves a βtraceβ. Any ideas why this is?
thanks,
Jeff
You need to cause a redraw in all of this, you cannot just draw an oval on top. By default, Swing will only redraw what needs to be repainted, which is usually not the whole control. When do you draw a circle?
Source: https://habr.com/ru/post/1396322/More articles:Ideas for using the Hoeffding "D" GPU coefficient (dependency)? - statisticsIs there a way for Eclipse to launch its taskbar icon when a lot of time is up? - eclipseUsing JavaScript or jQuery, how to check if an event exists in a window? - javascriptandroid get current location name - androidJava / Swing Volume Slider - javaWork with Eclipse on two computers - eclipseArray rotation - javaIOS Facebook app URL fb: // other than posting - iosASP.NET default page redirection when entering a page with limited edit - c #CSS Page Orientation - htmlAll Articles