Used Dao data access object in the Jframe