jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From milam...@apache.org
Subject svn commit: r1380393 - /jmeter/trunk/src/core/org/apache/jmeter/gui/util/FilePanelEntry.java
Date Mon, 03 Sep 2012 22:54:42 GMT
Author: milamber
Date: Mon Sep  3 22:54:42 2012
New Revision: 1380393

URL: http://svn.apache.org/viewvc?rev=1380393&view=rev
Log:
Small UI improvements

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/util/FilePanelEntry.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/util/FilePanelEntry.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/util/FilePanelEntry.java?rev=1380393&r1=1380392&r2=1380393&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/util/FilePanelEntry.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/util/FilePanelEntry.java Mon Sep  3 22:54:42
2012
@@ -18,12 +18,12 @@
 
 package org.apache.jmeter.gui.util;
 
+import java.awt.Font;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
 import java.util.LinkedList;
 import java.util.List;
 
-import javax.swing.Box;
 import javax.swing.JButton;
 import javax.swing.JFileChooser;
 import javax.swing.JLabel;
@@ -36,6 +36,8 @@ import org.apache.jmeter.util.JMeterUtil
 public class FilePanelEntry extends HorizontalPanel implements ActionListener {
     private static final long serialVersionUID = 280L;
 
+    private final Font FONT_SMALL = new Font("SansSerif", Font.PLAIN, 10); //$NON-NLS-1$
+
     private final JTextField filename = new JTextField(10);
 
     private final JLabel label;
@@ -81,10 +83,9 @@ public class FilePanelEntry extends Hori
 
     private void init() {
         add(label);
-        add(Box.createHorizontalStrut(5));
         add(filename);
-        add(Box.createHorizontalStrut(5));
         filename.addActionListener(this);
+        browse.setFont(FONT_SMALL);
         add(browse);
         browse.setActionCommand(ACTION_BROWSE);
         browse.addActionListener(this);



Mime
View raw message