Cosmetic change. Use a blank label instead of a button below

the text field.


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@82514 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org
2000-11-10 00:02:13 +00:00
parent acc72ac9a6
commit d00a452f0d

View File

@@ -57,7 +57,7 @@ import java.io.FileInputStream;
* This is a test application for using the BrowserControl.
*
* @version $Id: EMWindow.java,v 1.24.2.3 2000-11-08 20:27:43 edburns%acm.org Exp $
* @version $Id: EMWindow.java,v 1.24.2.4 2000-11-10 00:02:13 edburns%acm.org Exp $
*
* @see org.mozilla.webclient.BrowserControlFactory
@@ -186,11 +186,11 @@ public class EMWindow extends Frame implements DialogClient, ActionListener, Doc
// Add the URL field, and the buttons panel
Panel centerPanel = new Panel();
Button spacerButton = new Button(" ");
spacerButton.setEnabled(false);
centerPanel.setLayout(new BorderLayout());
centerPanel.add(urlField, BorderLayout.NORTH);
centerPanel.add(spacerButton, BorderLayout.SOUTH);
Label spacer = new Label();
spacer.setBackground(Color.lightGray);
centerPanel.add(spacer, BorderLayout.SOUTH);
// controlPanel.add(urlField, BorderLayout.CENTER);
controlPanel.add(centerPanel, BorderLayout.CENTER);