Is it always a bad idea to extend a JFrame?

When developing Java Swing GUIs, is it always a good idea to extend the JFrame? What about JPanel or other JComponents? Also, what's wrong?

+3
java inheritance composition swing


source to share


1 answer


This is usually a rule of thumb only for subclassing if you need to customize a Swing component.



+6


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics