All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.scudata.ide.common.FileChooserUICN Maven / Gradle / Ivy

Go to download

SPL(Structured Process Language) A programming language specially for structured data computing.

There is a newer version: 20240823
Show newest version
package com.scudata.ide.common;

import javax.swing.JFileChooser;
import javax.swing.plaf.basic.BasicDirectoryModel;
import javax.swing.plaf.metal.MetalFileChooserUI;

/**
 * FileChooser that supports Chinese sorting
 *
 */
class FileChooserUICN extends MetalFileChooserUI {
	private BasicDirectoryModel model = null;

	/**
	 * Constructor
	 * 
	 * @param filechooser
	 */
	public FileChooserUICN(JFileChooser filechooser) {
		super(filechooser);
	}

	/**
	 * Create model
	 */
	protected void createModel() {
		model = new DirectoryModelCN(getFileChooser());
	}

	/**
	 * Get BasicDirectoryModel
	 */
	public BasicDirectoryModel getModel() {
		return model;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy