0

i would like to create my own scrollPane.

it's look like this :

<-- |  components | -->

when we press in the arrows the components moves(scroll).

i can do it by create myScrollPane extends JSCroolPane and add two button that their action is to set the JScrollPane. but i want to learn and do it with edit scrollPaneUI. how can i do it?

4

1 回答 1

0

您可以为其使用自定义工具栏

查看这些链接(先尝试第二个链接,然后再尝试第一个链接)

http://tech.chitgoks.com/2009/12/05/create-a-sideway-scrolling-toolbar-using-java/ http://www.coderanch.com/t/344048/GUI/java/Scrollable-工具栏

于 2013-08-02T12:27:37.850 回答