I\'ve been working with Swing for a while now but the whole model/structure of JFrame
s, paint()
, super
, etc is all murky in my mind.
I nee
The same happened to me. Actually to this day I don't quite get 100% how all it works.
Swing is a very flexible framework - perhaps too flexible. With flexibility comes a lot of abstraction and with abstraction comes confusion. :)
I've found the following articles worth reading. They helped me to better understand the big picture of Swing.
The process of installing a UI delegate, which is just this image:
They explain quite well how the model and the delegate work. It always drives me mad when I see those JLabel
, LabelUI
, ui.update
, etc.