Programming Ein K'eloheinu

The output 

The program

           

See also Hebrew version

Computer source code (in Java) that generates the text shown in the Java applet above:

import java.applet.*;
import java.awt.*;

public class EinKeloheinu extends Applet {

String[] FIRST = {"Ein k'", "Mi k'", "Nodeh l'", "Baruch ", "Ata hu "};
String[] SECOND = {"eloheinu", "adoneinu", "malkeinu", "mosheinu"};

public void paint(Graphics g)
{
    for (int i=0; i<5; i++) for (int j=0; j<4; j++) g.drawString(FIRST[i] + SECOND[j], 10 , 130*i + 25*j + 35);
}
}