Remove unused JSmartPanel class.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5899 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Ryan Gustafson
2008-03-15 03:46:42 +00:00
parent 2ca4f85eef
commit 4c8b07d9a8

View File

@ -1,30 +0,0 @@
package net.sourceforge.pmd.util.designer;
import javax.swing.*;
import java.awt.Component;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
public class JSmartPanel extends JPanel {
private GridBagConstraints constraints = new GridBagConstraints();
public JSmartPanel() {
super(new GridBagLayout());
}
public void add(Component comp, int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int anchor, int fill, Insets insets) {
constraints.gridx = gridx;
constraints.gridy = gridy;
constraints.gridwidth = gridwidth;
constraints.gridheight = gridheight;
constraints.weightx = weightx;
constraints.weighty = weighty;
constraints.anchor = anchor;
constraints.fill = fill;
constraints.insets = insets;
add(comp, constraints);
}
}