Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import javax.swing.*;
import java.awt.*;

public class Main {
    public static void scroll(JTable table, int row) {
        table.scrollRectToVisible(new Rectangle(table.getCellRect(row, 0, true)));
    }
}