calling Dabase from display.java