En el curso dominando collections el profesor importa una clase dentro de otra clase, 02- Creando listas con objetos, no me permite hacer esa importación, no me da la opción, me podrían orientar como hacerlo o que me estaría faltando. Estoy utilizando NetBeans. Lo único que aparece es un cartel que dice configure "unused element" hint.
package br.com.alura;
public class Curso {
    private String nombre;
    private int tiempo;
    public Curso(String nombre, int tiempo) {
        this.nombre = nombre;
        this.tiempo = tiempo;
    }
    public String getNombre() {
        return nombre;
    }
    public void setNombre(String nombre) {
        this.nombre = nombre;
    }
    public int getTiempo() {
        return tiempo;
    }
    public void setTiempo(int tiempo) {
        this.tiempo = tiempo;
    }
}
package ejemplo1;
import java.util.ArrayList;
public class Clase1 {
    public static void main(String[] args) {
        // TODO Auto-generated method stub
        Curso curso1 = new Curso(nombre:"Geometria",tiempo:20);
        ArrayList <String> cursos = new ArrayList<>();
    }
}