logging-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sde...@apache.org
Subject svn commit: r981377 - /logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java
Date Mon, 02 Aug 2010 05:52:47 GMT
Author: sdeboy
Date: Mon Aug  2 05:52:47 2010
New Revision: 981377

URL: http://svn.apache.org/viewvc?rev=981377&view=rev
Log:
Update to ReceiverConfigurationPanel layout

Modified:
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java?rev=981377&r1=981376&r2=981377&view=diff
==============================================================================
--- logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java
(original)
+++ logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ReceiverConfigurationPanel.java
Mon Aug  2 05:52:47 2010
@@ -290,6 +290,7 @@ class ReceiverConfigurationPanel extends
         c.gridy = 0;
         c.weightx = 1.0;
         c.fill = GridBagConstraints.HORIZONTAL;
+        c.insets = new Insets(0, 0, 5, 0);
 
         panel.add(descriptionTextPane, c);
 
@@ -326,8 +327,6 @@ class ReceiverConfigurationPanel extends
                     JLabel cellLabel = (JLabel) component;
                     String shortenedName = receiverClass.getName().substring(receiverClass.getName().lastIndexOf('.')
+ 1);
                     cellLabel.setText(shortenedName);
-                    cellLabel.setOpaque(false);
-                    cellLabel.setEnabled(networkReceiverClassNameComboBox.isEnabled());
                 }
 
                 return component;



Mime
View raw message