java - How to edit the Scroll Bar -
i have jtable in jscrollpane i'd change of scrollbar bit better looking; 'custom design'. maybe put image user can drag instead of default thick blue bar. possible?
the main thing i'd change thickness of bar. application uses small window , scrollbar looks thick.
any appreciated.
edit: thanks responses far. found this; answers answer, in part: java scrollbar thickness
unfortunately cannot provide sample @ current moment, should this
the basicscrollbarui
class allows modify different features of typical jscrollbar
, such various different colors, sizes, , shadow effects. should looking for. idea supposed override installdefaults
method , modify protected fields liking.
but, if want fancy, highly suggest looking javafx due amount of customizability supports, 1 being css styling (which should helpful you).
Comments
Post a Comment