private ArrayList<Program> getList(){
		ArrayList<Program> list = new ArrayList<Program>();
		
		try{
			
			Connection con = DriverManager.getConnection("jdbc:hsqldb:hsql://localhost/mydatabase", "SA", "");
			Statement statement = con.createStatement();
			
			ResultSet rs = statement.executeQuery("SELECT * FROM PROGRAM");
			
			while( rs.next() ){
				int id = rs.getInt("ID");
				String programname= rs.getString("PROGRAMNAME");
				String username = rs.getString("USERNAME");
				String password = rs.getString("PASSWORD");
				int userid = rs.getInt("USERID");
				list.add(new Program( id, programname, username, password, userid ));
			}
			
			rs.close();
		    statement.close();
		    con.close();
			
		}
		catch( SQLException e ){
			
		}
		
		return list;
	}