The flash cards project in Java