public static Fine getFine(int fineId){
		
		try {
			   if(conn == null || conn.isClosed()){
			    conn = DatabaseConnection.getConnection();
			   }
			  } catch (SQLException e1) {
			   // TODO Auto-generated catch block
			   e1.printStackTrace();
			  }


		try {
			Statement stmnt = conn.createStatement();
			String sql = "SELECT * Fines where id = " + fineId;
			ResultSet res = stmnt.executeQuery(sql);

			while(res.next()) {
				fine = new Fine(res.getInt("fine_id"), res.getInt("transaction_id"), res.getInt("member_id"), res.getFloat("fine_amount"), res.getBoolean("paid"));
			}

		}
		catch(SQLException e) {
			System.out.println("PROBLEM");
			e.printStackTrace();
			return fine;

		}

		return fine;
		
	}