how to select seats using the database in Java, when the seats are full then the jbutton for seat selection cannot be used