Jump to content

JAVA JScrollPane Look and Feel

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
truetaurus

truetaurus

    Newbie

  • Members
  • Pip
  • 1 posts
How can I use that method to change the look and feel of my scroll bars in the scrollpane?

I have a JScrollPane and called it layerScroll

I saw this:
setUI
public void setUI(ScrollPaneUI ui)

But not sure how Id apply it, any ideas?

#2
Metalhead

Metalhead

    Newbie

  • Members
  • PipPip
  • 27 posts
You can set the look and feel of your application (not of one pane) using UIManager.setLookAndFeel()
http://download.orac...laf.htmlsetlook