Different kinds of widgets

Draw in a plain JPanel

Regular widgets

Container widgets