That's a good question class.  And frankly, I'm glad you asked...

 

JavaBeans provide the functionality necessary to separate
the code from the layout: