import java.awt.*;
class group_fit extends group{
	public group_fit(mform _parent, String _id, String _title){
		super (_parent, _id,_title);
	 	stretch_mode = STRETCH_LOOK;
	}
	public group_fit (mform _parent, String _id){
		super (_parent, _id);
	 	stretch_mode = STRETCH_LOOK;
	}
	public void stretch (int new_width, int new_height){
		Dimension r = preferredSize();
		int diffx = new_width - r.width;
		if (diffx > 0){
			reshape (0,0,new_width,new_height);
		}
	}
}

