diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-21 15:21:58 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-21 15:21:58 +0000 |
| commit | 004458bb854fe4376fe35ec55d7f08853e08895b (patch) | |
| tree | 3d1bb023e7a5560bb968d4d532de5bf0a2303a44 /sources/prefs/editors/VSBetterEditor.java | |
| parent | 47f50635ca3fa3665f2b0bfb3cc29b2e9b88e88e (diff) | |
JTable editor better now.
Diffstat (limited to 'sources/prefs/editors/VSBetterEditor.java')
| -rw-r--r-- | sources/prefs/editors/VSBetterEditor.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sources/prefs/editors/VSBetterEditor.java b/sources/prefs/editors/VSBetterEditor.java index b280edc..217b13b 100644 --- a/sources/prefs/editors/VSBetterEditor.java +++ b/sources/prefs/editors/VSBetterEditor.java @@ -34,6 +34,7 @@ public abstract class VSBetterEditor extends VSEditor { } public Container getContentPane() { + contentPane.setBackground(Color.WHITE); return contentPane; } @@ -45,10 +46,10 @@ public abstract class VSBetterEditor extends VSEditor { JPanel editPanel = super.editPanel; JPanel buttonPanel = createButtonPanel(); - JScrollPane scrollPane = new JScrollPane(editPanel); - panel.add(infoArea, BorderLayout.NORTH); - panel.add(scrollPane, BorderLayout.CENTER); - panel.add(buttonPanel, BorderLayout.SOUTH); + //JScrollPane scrollPane = new JScrollPane(editPanel); + panel.add(infoArea); + panel.add(editPanel); + panel.add(buttonPanel); return panel; } |
