From 4c8b07d9a80d4bf3340aa287180b78ae88aa81aa Mon Sep 17 00:00:00 2001 From: Ryan Gustafson Date: Sat, 15 Mar 2008 03:46:42 +0000 Subject: [PATCH] Remove unused JSmartPanel class. git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5899 51baf565-9d33-0410-a72c-fc3788e3496d --- .../pmd/util/designer/JSmartPanel.java | 30 ------------------- 1 file changed, 30 deletions(-) delete mode 100644 pmd/src/net/sourceforge/pmd/util/designer/JSmartPanel.java diff --git a/pmd/src/net/sourceforge/pmd/util/designer/JSmartPanel.java b/pmd/src/net/sourceforge/pmd/util/designer/JSmartPanel.java deleted file mode 100644 index 19c1ddec13..0000000000 --- a/pmd/src/net/sourceforge/pmd/util/designer/JSmartPanel.java +++ /dev/null @@ -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); - } -} -