public JPanel getPanel() {
if (this.currentRowList.size() > 0) {
this.rows.add(this.currentRowList);
}
final JPanel panel = this.showGuidelines ? new GridBagLayoutDebugPanel() : new JPanel(new GridBagLayout());
final int lastRowIndex = this.rows.size() - 1;
for (int currentRowIndex = 0; currentRowIndex <= lastRowIndex; currentRowIndex++) {
final List row = getRow(currentRowIndex);
addRow(row, currentRowIndex, lastRowIndex, panel);