notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2920 - development/main/depot/prefs/src/main/net/dpml/depot/prefs
- From: mcconnell AT dpml.net
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2920 - development/main/depot/prefs/src/main/net/dpml/depot/prefs
- Date: Fri, 24 Jun 2005 18:45:13 -0400
Author: mcconnell AT dpml.net
Date: Fri Jun 24 18:45:13 2005
New Revision: 2920
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ClassicPanel.java
Log:
Set background in tables to a reasonable value.
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ClassicPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ClassicPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ClassicPanel.java
Fri Jun 24 18:45:13 2005
@@ -184,6 +184,14 @@
panel.setBorder( new CompoundBorder( tb, border5 ) );
JScrollPane scroller = new JScrollPane();
+
+ //
+ // NOTE: the following line is needed to create a reasonable
looking
+ // table background - however, if other platforms are using a
background
+ // for menu items that is not Color.WHITE - then we could have a
problem
+ //
+
+ scroller.getViewport().setBackground( Color.WHITE );
scroller.setVerticalScrollBarPolicy(
JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED );
scroller.setHorizontalScrollBarPolicy(
- svn commit: r2920 - development/main/depot/prefs/src/main/net/dpml/depot/prefs, mcconnell, 06/24/2005
Archive powered by MHonArc 2.6.24.