/** 
 * ShrinkableFrame.java
 * 
 * This subclass of Frame can be shrunk below the minimum size that would 
 * otherwise be enforced to show how a LayoutManager deals with inadequate
 * space - which allows frames created by ComponentAndLayoutDemo to be
 * made arbitrarily small.  (This is needed on MacOSX because a frame
 * ordinarily cannot be resized below its minimum size)
 *
 * Copyright (c) 2003 - Russell C. Bjork
 */
 
import java.awt.*;
import javax.swing.*; 
    
class ShrinkableFrame extends JFrame
{
	public ShrinkableFrame(String title)
	{
		super(title);
	}
	
	public Dimension getMinimumSize()
	{
		return new Dimension(1, 1);
	}
} 
