Index: applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/JunctionCheckDialog.java
===================================================================
--- applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/JunctionCheckDialog.java	(revision 26509)
+++ applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/JunctionCheckDialog.java	(revision 27465)
@@ -9,4 +9,5 @@
 import java.awt.event.ActionListener;
 import java.awt.event.KeyEvent;
+import java.util.Arrays;
 import java.util.Collection;
 
@@ -87,20 +88,16 @@
 
 		// ButtonPanel
-		JPanel buttonPanel = new JPanel();
-		buttonPanel.setLayout(new GridLayout(1, 3));
 		createDigraphButton = new SideButton(marktr("Create"), "digraphcreation", tr ("start the channel digraph creation"),
 				tr("create the channel digraph"), this);
-		buttonPanel.add(createDigraphButton);
 		checkJunctionButton = new SideButton(marktr("Check "), "junctioncheck", tr("check a marked subset if it is a junction"),
 				tr("check the subust for junction properties"), this);
 		checkJunctionButton.setEnabled(false);
-		buttonPanel.add(checkJunctionButton);
 		searchJunctionButton = new SideButton(marktr("Search "), "junctionsearch", tr ("search for junctions into a subset of channels"),
 				tr("search for junctions in the channel subset"), this);
 		searchJunctionButton.setEnabled(false);
-		buttonPanel.add(searchJunctionButton);
 
-		add(centerPanel, BorderLayout.CENTER);
-		add(buttonPanel, BorderLayout.SOUTH);
+		createLayout(centerPanel, false, Arrays.asList(new SideButton[] {
+			createDigraphButton, checkJunctionButton, searchJunctionButton
+		}));
 	}
 
