Complex sentence: The following is a rather simple Swing-based progra a window (a) containing a label and a button.
Split into simpler sentences: The following is a rather simple Swing-based program. It displays a window (a) containing a label and a button.