Forums > Jitter

jit.lcd initialization

Mar 03 2007 | 5:17 pm


Can please anyone tell me how do i initialize the jit.lcd object in java. I mean all my tries to find the right syntax failed.

What would be the rigth syntax if i would like to create an Object with like that jit.lcd 4 char 320 240 ?

Thanks in advance……

Mar 06 2007 | 7:36 pm

Hi Roman,

You should use the constructor with the following signature:

public JitterObject(String classname, Atom[] args)

so your code might look like

Atom a[] = new Atom[4];

a[0] = Atom.newAtom(4);
a[1] = Atom.newAtom("char");
a[2] = Atom.newAtom(320);
a[3] = Atom.newAtom(240);

JitterObject jo = new JItterObject("jit.lcd", a);


Viewing 2 posts - 1 through 2 (of 2 total)

Forums > Jitter