KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > wings > border > SEmptyBorder


1 /*
2  * $Id: SEmptyBorder.java,v 1.6 2004/12/01 07:54:07 hengels Exp $
3  * Copyright 2000,2005 wingS development team.
4  *
5  * This file is part of wingS (http://www.j-wings.org).
6  *
7  * wingS is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU Lesser General Public License
9  * as published by the Free Software Foundation; either version 2.1
10  * of the License, or (at your option) any later version.
11  *
12  * Please see COPYING for the complete licence.
13  */

14 package org.wings.border;
15
16 import java.awt.*;
17
18 /**
19  * @author <a HREF="mailto:haaf@mercatis.de">Armin Haaf</a>
20  * @version $Revision: 1.6 $
21  */

22 public class SEmptyBorder
23         extends SAbstractBorder {
24     public SEmptyBorder(Insets insets) {
25         super(Color.black, 2, insets);
26     }
27
28     public SEmptyBorder(int top, int left, int bottom, int right) {
29         this(new Insets(top, left, bottom, right));
30     }
31 }
32
Popular Tags