logging-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sde...@apache.org
Subject svn commit: r954715 - in /logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw: ChainsawToolBarAndMenus.java LogPanel.java
Date Tue, 15 Jun 2010 05:48:32 GMT
Author: sdeboy
Date: Tue Jun 15 05:48:32 2010
New Revision: 954715

URL: http://svn.apache.org/viewvc?rev=954715&view=rev
Log:
Use system font & size for a couple of textareas

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

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ChainsawToolBarAndMenus.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ChainsawToolBarAndMenus.java?rev=954715&r1=954714&r2=954715&view=diff
==============================================================================
--- logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ChainsawToolBarAndMenus.java
(original)
+++ logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ChainsawToolBarAndMenus.java
Tue Jun 15 05:48:32 2010
@@ -1053,6 +1053,7 @@ class ChainsawToolBarAndMenus implements
       new JLabel("Enter expression for new tab:  "), BorderLayout.NORTH);
 
     final JTextArea textArea = new JTextArea(4, 75);
+    JTextComponentFormatter.applySystemFontAndSize(textArea);
     textArea.addKeyListener(
       new ExpressionRuleContext(new FilterModel(), textArea));
     panel.add(textArea, BorderLayout.CENTER);

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java?rev=954715&r1=954714&r2=954715&view=diff
==============================================================================
--- logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java (original)
+++ logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java Tue Jun 15
05:48:32 2010
@@ -890,6 +890,7 @@ public class LogPanel extends DockablePa
     final JDialog detailDialog = new JDialog((JFrame) null, true);
     Container container = detailDialog.getContentPane();
     final JTextArea detailArea = new JTextArea(10, 40);
+    JTextComponentFormatter.applySystemFontAndSize(detailArea);
     detailArea.setEditable(false);
     container.setLayout(new BoxLayout(container, BoxLayout.Y_AXIS));
     container.add(new JScrollPane(detailArea));



Mime
View raw message