Adding text to the windowpane example