Swing, mySQL, select courses