jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1819042 - /jmeter/trunk/src/jorphan/org/apache/jorphan/gui/GuiUtils.java
Date Fri, 22 Dec 2017 14:07:04 GMT
Author: fschumacher
Date: Fri Dec 22 14:07:04 2017
New Revision: 1819042

URL: http://svn.apache.org/viewvc?rev=1819042&view=rev
Log:
Specify the the label is labelling the comboBox.

Modified:
    jmeter/trunk/src/jorphan/org/apache/jorphan/gui/GuiUtils.java

Modified: jmeter/trunk/src/jorphan/org/apache/jorphan/gui/GuiUtils.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/jorphan/org/apache/jorphan/gui/GuiUtils.java?rev=1819042&r1=1819041&r2=1819042&view=diff
==============================================================================
--- jmeter/trunk/src/jorphan/org/apache/jorphan/gui/GuiUtils.java (original)
+++ jmeter/trunk/src/jorphan/org/apache/jorphan/gui/GuiUtils.java Fri Dec 22 14:07:04 2017
@@ -95,6 +95,7 @@ public final class GuiUtils {
         JPanel labelCombo = new JPanel();
         labelCombo.setLayout(new FlowLayout(FlowLayout.LEFT, 0, 0));
         JLabel caption = new JLabel(label);
+        caption.setLabelFor(comboBox);
         caption.setBorder(new EmptyBorder(0, 5, 0, 5));
         labelCombo.add(caption);
         labelCombo.add(comboBox);



Mime
View raw message