Connected a tasks name to a JPanel