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

de.muntjak.tinylookandfeel.TinySplitPaneUI Maven / Gradle / Ivy

Go to download

This is the Tiny look-and-feel packaged to be distributed with the SQuirreLSQL client. The Tiny look-and-feel is a (mostly painted) look-and-feel for Java 1.4 and higher.

The newest version!
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *	This file is part of the Tiny Look and Feel                                *
 *  Copyright 2003 - 2008  Hans Bickel                                         *
 *                                                                             *
 *  For licensing information and credits, please refer to the                 *
 *  comment in file de.muntjak.tinylookandfeel.TinyLookAndFeel                 *
 *                                                                             *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

package de.muntjak.tinylookandfeel;

import javax.swing.JComponent;
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.basic.BasicSplitPaneDivider;
import javax.swing.plaf.metal.MetalSplitPaneUI;

/**
 * TinySplitPaneUI
 * 
 * @version 1.0
 * @author Hans Bickel
 */
public class TinySplitPaneUI extends MetalSplitPaneUI {
	
	/**
	  * Creates a new MetalSplitPaneUI instance
	  */
	public static ComponentUI createUI(JComponent x) {
		return new TinySplitPaneUI();
	}

	/**
	  * Creates the default divider.
	  */
	public BasicSplitPaneDivider createDefaultDivider() {
		return new TinySplitPaneDivider(this);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy