How do you extend JComponent to make your custom GUI component but disable the container methods without over riding them, so that a IDE will not think it is a container?

John Zukowski

The way to flag a custom, extended JComponent such that an IDE treats it as a component and not a container is through the new component's BeanInfo. The isContainer attribute needs to be false.