/*
________________________________________________________________________________

Inhalt....: Test suite for MUCS
Kategorie.: Package
Mathematik: Other
MuPAD.....: 2.5.0 / 3.0.0 / 3.1.1
Datum.....: 2003-09-25
Autoren...: Jörn Maas, <maas@mupad.de>
Funktionen: 
________________________________________________________________________________

The java-package


This is a demonstration how to define a MUCS (MuPAD Unit Construction System).

 */
package("java"):
mucs := java::mucs::mucs::mucs("A new MuPAD Unit Construction System");
java::console();
textField := java::javax::swing::JTextField::JTextField("Textfield.");
button := java::javax::swing::JButton::JButton("Press this button");
java::mucs::addToContainer(textField, 0, UseObject=mucs);
java::mucs::addToContainer(button, 1, UseObject=mucs);
java::mucs::setReturnObject(textField, UseObject=mucs);
java::mucs::setTriggerObject(button, UseObject=mucs);
java::mucs::setFrameSize(400,120, UseObject=mucs);
java::mucs::showMucs(UseObject=mucs);
java::showJavaInfo(1);

