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.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact