/** * Dumps the layout's row specifications to the console. * * @param layout the <code>FormLayout</code> to inspect */ public static void dumpRowSpecs(FormLayout layout) { System.out.print("ROW SPECS: "); for (int row = 1; row <= layout.getRowCount(); row++) { RowSpec rowSpec = layout.getRowSpec(row); System.out.print(rowSpec.toShortString()); if (row < layout.getRowCount()) System.out.print(", "); } System.out.println(); }