mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
* ChangeLog.gcj, Makefile.in, aclocal.m4, config.guess, config.sub, configure, ltmain.sh, doc/Makefile.in, doc/api/Makefile.in, examples/Makefile.in, external/Makefile.in, external/sax/Makefile.in, external/w3c_dom/Makefile.in, include/Makefile.in, include/config.h.in, include/jni.h, lib/Makefile.in, native/Makefile.in, native/fdlibm/Makefile.in, native/jni/Makefile.in, native/jni/classpath/Makefile.in, native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in, native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in, native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in, native/jni/xmlj/Makefile.in, native/target/Makefile.in, native/target/Linux/Makefile.in, native/target/generic/Makefile.in, resource/Makefile.in, scripts/Makefile.in: Added. * native/fdlibm/.cvsignore, native/jni/xmlj/.cvsignore, native/jni/java-util/.cvsignore, native/jni/classpath/.cvsignore, native/jni/java-net/.cvsignore, native/jni/java-io/.cvsignore, native/jni/.cvsignore, native/jni/java-lang/.cvsignore, native/jni/gtk-peer/.cvsignore, native/jni/java-nio/.cvsignore, native/testsuite/.cvsignore, native/.cvsignore, native/vmi/.cvsignore, native/target/.cvsignore, native/target/generic/.cvsignore, native/target/Linux/.cvsignore, include/.cvsignore, doc/api/.cvsignore, doc/www.gnu.org/faq/.cvsignore, doc/www.gnu.org/downloads/.cvsignore, doc/www.gnu.org/docs/.cvsignore, doc/www.gnu.org/.cvsignore, doc/www.gnu.org/events/.cvsignore, doc/www.gnu.org/announce/.cvsignore, doc/.cvsignore, resource/.cvsignore, external/w3c_dom/.cvsignore, external/sax/.cvsignore, external/.cvsignore, java/util/.cvsignore, .cvsignore, test/java.net/.cvsignore, test/java.io/.cvsignore, test/.cvsignore, test/java.util/.cvsignore, test/gnu.java.lang.reflect/.cvsignore, test/java.lang.reflect/.cvsignore, examples/.cvsignore, lib/.cvsignore, gnu/classpath/.cvsignore, gnu/test/.cvsignore, compat/java.net/.cvsignore, compat/.cvsignore, vm/.cvsignore, vm/reference/.cvsignore, scripts/.cvsignore: Updated. From-SVN: r102079
This directory contains example programs that show how the GNU Classpath
library can be used.
Each example has its own package under gnu.classpath.examples and has a
class Demo which contains a main() method to run that particular example.
The examples can be compiled and run with gcj as follows:
gcj -o swingdemo --main=gnu.classpath.examples.swing.Demo \
gnu/classpath/examples/swing/Demo.java
./swingdemo
Or with a traditional byte code interpreter like:
gcj -C gnu/classpath/examples/awt/Demo.java
gij gnu.classpath.examples.awt.Demo
The installation also comes with an examples.zip archive that contains
all needed resources and compiled byte code class files that can be
run as follows:
kaffe -classpath examples.zip gnu.classpath.examples.awt.Demo
kaffe -classpath examples.zip gnu.classpath.examples.swing.Demo
All example code is distributed under the GNU General Public License (GPL).
The example icons used in some of the examples come from gnome-icon-theme
version 1.2.3 and are also distributed under the GPL.
All these images are stored in the directory gnu/classpath/examples/icons/.
More free icons can be found in the gnome-icon-theme package:
http://ftp.gnome.org/pub/GNOME/sources/gnome-icon-theme/
GNU Classpath examples are free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2, or (at
your option) any later version.
GNU Classpath examples are distributed in the hope that they will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath examples; see the file COPYING. If not,
write to the Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.