home *** CD-ROM | disk | FTP | other *** search
- package java.awt;
-
- public class Insets implements Cloneable {
- public int top;
- public int left;
- public int bottom;
- public int right;
-
- public Insets(int top, int left, int bottom, int right) {
- this.top = top;
- this.left = left;
- this.bottom = bottom;
- this.right = right;
- }
-
- public String toString() {
- return this.getClass().getName() + "[top=" + this.top + ",left=" + this.left + ",bottom=" + this.bottom + ",right=" + this.right + "]";
- }
-
- public Object clone() {
- try {
- return super.clone();
- } catch (CloneNotSupportedException var1) {
- throw new InternalError();
- }
- }
- }
-