summaryrefslogtreecommitdiff
blob: 8852ba390a865bdc0ba646d6a0618c7d7d728ca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
diff --git a/src/java/net/sf/jabref/EntryEditorTab.java b/src/java/net/sf/jabref/EntryEditorTab.java
index 6b8a8f4..041fcd6 100644
--- a/src/java/net/sf/jabref/EntryEditorTab.java
+++ b/src/java/net/sf/jabref/EntryEditorTab.java
@@ -133,7 +133,7 @@ public class EntryEditorTab {
         String rowSpec = sb.toString();
 
         DefaultFormBuilder builder = new DefaultFormBuilder
-                (panel, new FormLayout(colSpec, rowSpec));
+                (new FormLayout(colSpec, rowSpec), panel);
 
         for (int i = 0; i < fields.length; i++) {
             // Create the text area:
diff --git a/src/java/net/sf/jabref/external/DroppedFileHandler.java b/src/java/net/sf/jabref/external/DroppedFileHandler.java
index 84527c4..a606c4a 100644
--- a/src/java/net/sf/jabref/external/DroppedFileHandler.java
+++ b/src/java/net/sf/jabref/external/DroppedFileHandler.java
@@ -65,8 +65,8 @@ public class DroppedFileHandler {
         grp.add(moveRadioButton);
         copyRadioButton.setSelected(true);
 
-        DefaultFormBuilder builder = new DefaultFormBuilder(optionsPanel, new FormLayout(
-            "left:pref", ""));
+        DefaultFormBuilder builder = new DefaultFormBuilder(new FormLayout("left:pref", ""),
+			optionsPanel);
         builder.append(linkInPlace);
         builder.append(destDirLabel);
         builder.append(copyRadioButton);
diff --git a/src/java/net/sf/jabref/external/FileLinksUpgradeWarning.java b/src/java/net/sf/jabref/external/FileLinksUpgradeWarning.java
index 5724dde..4a5b409 100644
--- a/src/java/net/sf/jabref/external/FileLinksUpgradeWarning.java
+++ b/src/java/net/sf/jabref/external/FileLinksUpgradeWarning.java
@@ -86,8 +86,7 @@ public class FileLinksUpgradeWarning implements PostOpenAction {
         sb.append("</html>");
 
         JPanel message = new JPanel();
-        DefaultFormBuilder b = new DefaultFormBuilder(message,
-                new FormLayout("left:pref", ""));
+        DefaultFormBuilder b = new DefaultFormBuilder(new FormLayout("left:pref", ""), message);
         b.append(new JLabel(sb.toString()));
         b.nextLine();
         if (offerChangeSettings) {