public TableConstraints(GridBagConstraints gbc) {
		gridx = gbc.gridx;
		gridy = gbc.gridy;
		gridwidth = gbc.gridwidth;
		gridheight = gbc.gridheight;
		fill = gbc.fill;
		anchor = gbc.anchor;
		ipadx = gbc.ipadx;
		ipady = gbc.ipady;
		weightx = gbc.weightx;
		weighty = gbc.weighty;
		insets.left = gbc.insets.left;
		insets.right = gbc.insets.right;
		insets.top = gbc.insets.top;
		insets.bottom = gbc.insets.bottom;
		if (gbc instanceof TableConstraints) {
			TableConstraints tc = (TableConstraints) gbc;
			width = tc.width;
			height = tc.height;
		}
	}