If you want to really understand "beans binding", i.e., JSR-295,
you can study lots of documents. Alternatively, you can go through
a small but very powerful demo, here. At the end, you
have a bean, which has properties that you bind to Swing
components. No coding at all, because the NetBeans tooling makes it
a point-and-click experience.
At the end, and only a few clicks later, I moved the demo to the
NetBeans Platform, installing it in the IDE's "output" window
position. (I...