awt_Insets.c revision 2362
d1458ac8d13880f83fa2d1e08623b97c50d311d7Serge Hallyn * Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved.
65d8ae9c4a66f5ca85289c02dc06d63261c84619Scott Moser * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
d1458ac8d13880f83fa2d1e08623b97c50d311d7Serge Hallyn * This code is free software; you can redistribute it and/or modify it
d1458ac8d13880f83fa2d1e08623b97c50d311d7Serge Hallyn * under the terms of the GNU General Public License version 2 only, as
d1458ac8d13880f83fa2d1e08623b97c50d311d7Serge Hallyn * published by the Free Software Foundation. Oracle designates this
acbb59f50d5196facde837ea377f70e98ce1e6f8Serge Hallyn * particular file as subject to the "Classpath" exception as provided
acbb59f50d5196facde837ea377f70e98ce1e6f8Serge Hallyn * by Oracle in the LICENSE file that accompanied this code.
acbb59f50d5196facde837ea377f70e98ce1e6f8Serge Hallyn * This code is distributed in the hope that it will be useful, but WITHOUT
d1458ac8d13880f83fa2d1e08623b97c50d311d7Serge Hallyn * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
acbb59f50d5196facde837ea377f70e98ce1e6f8Serge Hallyn * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
acbb59f50d5196facde837ea377f70e98ce1e6f8Serge Hallyn * version 2 for more details (a copy is included in the LICENSE file that
acbb59f50d5196facde837ea377f70e98ce1e6f8Serge Hallyn * accompanied this code).
d1458ac8d13880f83fa2d1e08623b97c50d311d7Serge Hallyn * You should have received a copy of the GNU General Public License version
acbb59f50d5196facde837ea377f70e98ce1e6f8Serge Hallyn * 2 along with this work; if not, write to the Free Software Foundation,
acbb59f50d5196facde837ea377f70e98ce1e6f8Serge Hallyn * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
d1458ac8d13880f83fa2d1e08623b97c50d311d7Serge Hallyn * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
d1458ac8d13880f83fa2d1e08623b97c50d311d7Serge Hallyn * or visit www.oracle.com if you need additional information or have any
d1458ac8d13880f83fa2d1e08623b97c50d311d7Serge Hallyn * questions.
d1458ac8d13880f83fa2d1e08623b97c50d311d7Serge HallynJava_java_awt_Insets_initIDs(JNIEnv *env, jclass cls)
d1458ac8d13880f83fa2d1e08623b97c50d311d7Serge Hallyn insetsIDs.top = (*env)->GetFieldID(env, cls, "top", "I");
1aad9e44d65e7c20dabc4c99f57bcf532db66c68Serge Hallyn insetsIDs.bottom = (*env)->GetFieldID(env, cls, "bottom", "I");
1aad9e44d65e7c20dabc4c99f57bcf532db66c68Serge Hallyn insetsIDs.left = (*env)->GetFieldID(env, cls, "left", "I");
1aad9e44d65e7c20dabc4c99f57bcf532db66c68Serge Hallyn insetsIDs.right = (*env)->GetFieldID(env, cls, "right", "I");