Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
線が弧のように見える JSlider オブジェクトを作成しようとしています。最小数の目盛りがあり (値がないものもあります)、スライダー インジケーターは弧の中心から現在の選択された目盛り。BasicSliderUI を拡張し、さまざまなペイント メソッドをオーバーライドする必要があるようです。このような例はすでにありますか、それともこのオブジェクトを最初から作成していますか?
この例は、 のメソッドをオーバーライドするpaintTrack()方法を示していますBasicSliderUI。を描画して、必要なArc2D効果を得ることができるようです。
paintTrack()
BasicSliderUI
Arc2D