#!/bin/bash # Create key images mkdir keys python make_small_images.py # Add keyboard definitions to code python print_key_locations.py # Compile program java -jar ../hecl/jars/JarHack.jar ../hecl/jars/cldc1.1-midp2.0/Hecl.jar ./ Keyboard keyboard.hecl # Add images zip Keyboard.jar lowercase_keyboard.png uppercase_keyboard.png zip -r Keyboard.jar keys/*.png rm -rf keys rm keyboard.hecl # Run program ../WTK2.5.2/bin/emulator -classpath Keyboard.jar Hecl