logging-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sde...@apache.org
Subject svn commit: r942834 - /logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/LogPanel.java
Date Mon, 10 May 2010 18:14:44 GMT
Author: sdeboy
Date: Mon May 10 18:14:44 2010
New Revision: 942834

URL: http://svn.apache.org/viewvc?rev=942834&view=rev
Log:
Minor tweak to PreferencePanel frame (adding pref panel to a scrollpane, setting frame size
larger)

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

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=942834&r1=942833&r2=942834&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 Mon May 10
18:14:44 2010
@@ -287,9 +287,9 @@ public class LogPanel extends DockablePa
     preferencesFrame.setTitle("'" + identifier + "' Log Panel Preferences");
     preferencesFrame.setIconImage(
       ((ImageIcon) ChainsawIcons.ICON_PREFERENCES).getImage());
-    preferencesFrame.getContentPane().add(preferencesPanel);
+    preferencesFrame.getContentPane().add(new JScrollPane(preferencesPanel));
 
-    preferencesFrame.setSize(640, 480);
+    preferencesFrame.setSize(740, 520);
 
     preferencesPanel.setOkCancelActionListener(
       new ActionListener() {



Mime
View raw message