Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import javax.swing.JFileChooser;

public class Main {
    private static JFileChooser fileChooser = null;

    public static JFileChooser getFileChooser() {
        if (fileChooser == null) {
            fileChooser = new JFileChooser("D:\\Repositories\\University-labs\\4th semester\\ACGLab2\\pictures");
        }
        return fileChooser;
    }
}