Author: jflesch
Date: 2006-12-05 19:50:43 +0000 (Tue, 05 Dec 2006)
New Revision: 11245
Modified:
trunk/apps/Thaw/src/thaw/plugins/index/SearchBar.java
Log:
Change search bar layout
Modified: trunk/apps/Thaw/src/thaw/plugins/index/SearchBar.java
===================================================================
--- trunk/apps/Thaw/src/thaw/plugins/index/SearchBar.java 2006-12-05
19:09:38 UTC (rev 11244)
+++ trunk/apps/Thaw/src/thaw/plugins/index/SearchBar.java 2006-12-05
19:50:43 UTC (rev 11245)
@@ -36,15 +36,17 @@
this.queueManager = queueManager;
this.panel = new JPanel();
- this.panel.setLayout(new BorderLayout(10, 10));
+ this.panel.setLayout(new BorderLayout(0, 0));
this.userText = new JTextField("");
this.validationButton = new JButton("
"+I18n.getMessage("thaw.common.search")+" ");
- this.panel.add(new
JLabel(I18n.getMessage("thaw.plugin.index.search.label")), BorderLayout.WEST);
- this.panel.add(this.userText, BorderLayout.CENTER);
- this.panel.add(this.validationButton, BorderLayout.EAST);
+ JLabel label = new
JLabel(I18n.getMessage("thaw.plugin.index.search.label"));
+ panel.add(label, BorderLayout.NORTH);
+ panel.add(userText, BorderLayout.CENTER);
+ panel.add(validationButton, BorderLayout.EAST);
+
this.userText.addActionListener(this);
this.validationButton.addActionListener(this);
}