Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import javax.swing.JTree;

public class Main {
    public static void expandJTree(JTree toexpand) {
        // replace this with a sensible implementation if it fails
        for (int row = 0; row < toexpand.getRowCount(); ++row) {
            toexpand.expandRow(row);
        }
    }
}