1 30 31 package com.jgoodies.looks.windows; 32 33 import javax.swing.JButton ; 34 import javax.swing.JComponent ; 35 import javax.swing.plaf.ComponentUI ; 36 37 46 public final class WindowsScrollBarUI extends com.sun.java.swing.plaf.windows.WindowsScrollBarUI { 47 48 public static ComponentUI createUI(JComponent b) { 49 return new WindowsScrollBarUI(); 50 } 51 52 53 protected JButton createDecreaseButton(int orientation) { 54 return new WindowsArrowButton(orientation); 55 } 56 57 58 protected JButton createIncreaseButton(int orientation) { 59 return createDecreaseButton(orientation); 60 } 61 62 63 } | Popular Tags |