public void paintBorder(Component comp, Graphics g, int x1, int y1,
int x2, int y2) {
super.paintBorder(comp, g, x1, y1, x2, y2);
int desp = 20;
int orig = x2 - GeneralEditionPanel.delImage.getWidth(null) - desp;
int fin = x2 - desp;
g.setColor(Color.white);
g.fillRect(orig - 2, 3,
GeneralEditionPanel.delImage.getWidth(null) + 1,
GeneralEditionPanel.delImage.getHeight(null) + 1);
g.setColor(Color.black);
g.drawRect(orig - 2, 3,
GeneralEditionPanel.delImage.getWidth(null) + 1,
GeneralEditionPanel.delImage.getHeight(null) + 1);
g.drawImage(GeneralEditionPanel.delImage, orig - 1, 4, null);
location = new Point(orig - 2, 3);
size = new Dimension(
GeneralEditionPanel.delImage.getWidth(null) + 1,
GeneralEditionPanel.delImage.getHeight(null) + 1);
}