private void delete(int oximaId,int index){
		/*
		 * diagrafei to epilegmeno oxima
		 */
		String query="delete from oximata where id=?";
		try {
			con.pS=con.conn.prepareStatement(query);
			con.pS.setInt(1, oximaId);
		} catch (SQLException e) {
			e.printStackTrace();
		}
		if(con.makeQuery(query)){
			JOptionPane.showMessageDialog(null, "Deleted!");
			listModel.remove(index);
			oximataId.remove(index);
			
		}else{
			JOptionPane.showMessageDialog(null, "Something went wrong please try later!");
		}
	}