diff options
author | Silenio Quarti <silenio> | 2004-10-12 18:53:53 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2004-10-12 18:53:53 +0000 |
commit | 71e4ffbe11013023eea3c43aa2229a5bfe70fa11 (patch) | |
tree | f8e93565f721da0940160ae3a0dd035e2035d85d | |
parent | a8635d5c149f465615eaae0ceb798140150f1ba9 (diff) | |
download | eclipse.platform.swt-71e4ffbe11013023eea3c43aa2229a5bfe70fa11.tar.gz eclipse.platform.swt-71e4ffbe11013023eea3c43aa2229a5bfe70fa11.tar.xz eclipse.platform.swt-71e4ffbe11013023eea3c43aa2229a5bfe70fa11.zip |
*** empty log message ***
-rw-r--r-- | examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet154.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet154.java b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet154.java index c5d3c4c709..fd749b1a55 100644 --- a/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet154.java +++ b/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet154.java @@ -42,6 +42,7 @@ public class Snippet154 { frame.add(panel); JRootPane root = new JRootPane(); panel.add(root); + java.awt.Container contentPane = root.getContentPane(); /* Creating components */ int nrows = 1000, ncolumns = 10; @@ -61,7 +62,6 @@ public class Snippet154 { table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); table.createDefaultColumnsFromModel(); JScrollPane scrollPane = new JScrollPane(table); - java.awt.Container contentPane = root.getContentPane(); contentPane.setLayout(new BorderLayout()); contentPane.add(scrollPane); |