zaluum.exe
or similar executable in
the uncompressed directory.
HelloWorld
. The
project defaults should be ok. Click Finish.
src
,
the JRE libraries and the Zaluum Library Container.
HelloWorld/src
.
Enter a package name for example your company name com.mycompany
.
It's not recommended to use the default package. Enter Hello
as class name and click Finish.
The main layout of Eclipse is composed of Views and editors. Editors appear in the center space of the workbench and usually edit a single file. The views are usually around the edges, and are linked to the current editor or the current project.
Please see an Eclipse introduction like this if you are unfamiliar with Eclipse.
src
folder.
org.zaluum.control
in the Palette
and drag and drop While
into the empty file. Resize
the while box to a comfortable size.
cond
port at the bottom-right of the While
box is the condition
to get out of the loop. If it's true, it loops, so we will feed a
constant true.
org.zaluum.op
and drag and drop Literal
inside the While. With this box, what we write in it goes
directly to the output port.
true
.
Notice how the border and output port turns red to indicate it's
been parsed as a boolean
cond
port
to finish the connection.
org.zaluum.widget.TextInput
. Put them on
the left side.
org.zaluum.widget.TextWidget
at the
right side.
org.zaluum.op.Add
in the middle.
TextInput
s
to the inputs of Add
, and the output of Add
to TextWidget
TextWidget
in
the GUI view. In the Properties view type in *Label
GUI
: "The result is:". A label with the text should
appear next to the widget. Try to move it.
Hello.zaluum
file and go to
Run as...→Zaluum Application