Class SizeWrapper

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class SizeWrapper extends JPanel
Wraps a component so that it assumes the same size as its container. Another installment in my gruelling battle against layout managers.
Since:
1 Nov 2005
Author:
Mark Taylor
See Also:
  • Constructor Details

    • SizeWrapper

      public SizeWrapper(Component comp)
      Constructor.
      Parameters:
      comp - component to wrap