some sample code for testing button listeners, java programming

Signed-off-by: Alexander Skjolden <alex@plastboks.net>