Java JScrollPane makeVScroller(Component c)

Here you can find the source of makeVScroller(Component c)

Description

make V Scroller

License

Open Source License

Declaration

public static JScrollPane makeVScroller(Component c) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.awt.Component;

import javax.swing.JScrollPane;
import javax.swing.ScrollPaneConstants;

public class Main {
    public static JScrollPane makeVScroller(Component c) {
        return new JScrollPane(c, ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS,
                ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    }//from   ww w  . j  a va  2  s  .c  o  m
}

Related

  1. initScrollPane(JScrollPane scrollPane)
  2. isHorizontalScrollBarHiddenAlways(JScrollPane pane)
  3. isScrolledToBottom(final JScrollPane scrollPane)
  4. makeComponentDragScrollable(final JComponent component)
  5. makeListInScrollPane(Collection items, Function namer)
  6. moveEnd(JScrollPane pane)
  7. newJScrollPane(String title, Component c)
  8. resetScrollPane(final JScrollPane scrollPane)
  9. scrollToBottom(final JScrollPane scrollPane)