The rule of thumb to find out the node name of a Swing class is this:

Examples

This rules apply to all Swing classes available in the JDK. There are a few additional nodes that provide a special function, which will be explained next.