am.ui.layout;21 22 import java.awt.Dimension ;23 import javax.swing.JComponent ;24 25 /** A JSplitterSpace is a completely plain lightweight AWT Component. Its26 only purpose in life is to hold a space that can act as a handle for27 a JSplitterBar.28 * <p>Use this code at your own risk! MageLang Institute is not29 * responsible for any damage caused directly or indirctly through30 * use of this code.31 * <p><p>32 * <b>SOFTWARE RIGHTS</b>33 * <p>34 * MageLang support classes, version 1.0, MageLang Institute35 * <p>36 * We reserve no legal rights to this code--it is fully in the37 * public domain. An individual or company may do whatever38 * they wish with source code distributed with it, including39 * including the incorporation of it into commerical software.40 *41 * <p>However, this code cannot be sold as a standalone product.42 * <p>43 * We encourage users to develop software with this code. However,44 * we do ask that credit is given to us for developing it45 * By "credit", we mean that if you use these components or46 * incorporate any source code into one of your programs47 * (commercial product, research project, or otherwise) that48 * you acknowledge this fact somewhere in the documentation,49 * research report, etc... If you like these components and have50 * developed a nice tool with the output, please mention that51 * you developed it using these components. In addition, we ask that52 * the headers remain intact in our source code. As long as these53 * guidelines are kept, we expect to continue enhancing this54 * system and expect to make other tools available as they are55 * completed.56 * <p>57 * The MageLang Support Classes Gang:58 * @version MageLang Support Classes 1.0, MageLang Insitute, 199759 * @author <a HREF="http:">Scott Stanchfield</a>, <a HREF=>MageLang Institute</a>60 @see JSplitterBar61 */62 public class JSplitterSpace extends JComponent {63 64 static final long serialVersionUID = 1L;65 66 public synchronized Dimension getMinimumSize() {67 return new Dimension (10, 10);68 }69 70 public synchronized Dimension getPreferredSize() {71 return new Dimension (10, 10);72 }73 }74
Java API By Example, From Geeks To Geeks. | Our Blog | Conditions of Use | About Us_ |