public static void addLastItem(JComponent component, Container container) {
		GridBagLayout gridbag = (GridBagLayout) container.getLayout();
		
		component.setMaximumSize(component.getPreferredSize());
		
		c.weighty = 1;
		c.fill = GridBagConstraints.NONE;
		c.anchor = GridBagConstraints.NORTH;
		c.gridwidth = GridBagConstraints.REMAINDER; //end row
		gridbag.setConstraints(component, c);
		container.add(component);
	}