Java JTable Scroll findScrollPane(JTable p_Table)

Here you can find the source of findScrollPane(JTable p_Table)

Description

find Scroll Pane

License

Open Source License

Declaration

public static JScrollPane findScrollPane(JTable p_Table) 

Method Source Code


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

import javax.swing.*;

public class Main {
    public static JScrollPane findScrollPane(JTable p_Table) {
        return (JScrollPane) SwingUtilities.getAncestorOfClass(JScrollPane.class, p_Table);
    }/*from  w  w w . java2 s  .com*/
}

Related

  1. addHorizontalScrollBar(JTable table, JScrollPane pane)
  2. AutoScrollTable(final JTable table_packets)
  3. createTableScrollPane(final JTable table)
  4. getScrollPane(JTable myTable)
  5. makeTransparant(JTable table, JScrollPane scrollPane)
  6. scroll(JTable table, int rowIndex, int vColIndex)
  7. scrollToCenter(JTable table, int rowIndex, int vColIndex)