Ainda tentando entender as API do netbeans