Index: D:/workspace/jhomenet-ui/src/jhomenet/ui/panel/AbstractDataPanel.java =================================================================== --- D:/workspace/jhomenet-ui/src/jhomenet/ui/panel/AbstractDataPanel.java (revision 5382) +++ D:/workspace/jhomenet-ui/src/jhomenet/ui/panel/AbstractDataPanel.java (working copy) @@ -190,7 +190,7 @@ if (channel == (numChannels - 1)) rowSpec.append("pref"); else - rowSpec.append("pref, 4dlu"); + rowSpec.append("pref, 4dlu, "); } // create and build the main panel @@ -203,10 +203,10 @@ CellConstraints cc = new CellConstraints(); PanelBuilder builder = new PanelBuilder(panelLayout, panel); - for (int channel = 0; channel < numChannels; channel++) + for (int channel = 0, row = 1; channel < numChannels; channel++, row += 2) { - builder.addLabel("Current data [CH-" + channel + "]: ", cc.xy(1, channel + 1)); - builder.add(this.currentDataTextfields.get(channel), cc.xy(3, channel + 1)); + builder.addLabel("Current data [CH-" + channel + "]: ", cc.xy(1, row)); + builder.add(this.currentDataTextfields.get(channel), cc.xy(3, row)); } panel = (BackgroundPanel) builder.getPanel();