So I was wondering if this sort of question asking how to use a certain API in a program such as NetBeans IDE is allowed here?
You may check first if your API question fits with the following points (taken from the Help Center articleHelp Center article):
Stack Overflow is for professional and enthusiast programmers, people who write code because they love it. We feel the best Stack Overflow questions have a bit of source code in them, but if your question generally covers…
- a specific programming problem, or
- a software algorithm, or
- software tools commonly used by programmers; and is
- a practical, answerable problem that is unique to software development
So yes, you can ask such questions about the netbeans APIAPI (note to add the mentioned tag).
Take care to provide a Minimal, Complete, and Verifiable exampleMinimal, Complete, and Verifiable example of how you tried to use the API and where and how exactly you are stuck in using it from your code.