notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2918 - 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: r2918 - development/main/depot/prefs/src/main/net/dpml/depot/prefs
- Date: Fri, 24 Jun 2005 16:55:44 -0400
Author: mcconnell AT dpml.net
Date: Fri Jun 24 16:55:44 2005
New Revision: 2918
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ActivationGroupProfilePanel.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ApplicationProfilePanel.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ApplicationsRegistryPanel.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/CacheDirectoryPanel.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/CacheModelPanel.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ClassicCredentialsPanel.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ClassicDialog.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ClassicPanel.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ClassicTable.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ContentRegistryModelPanel.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/DepotPreferencesFrame.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/DepotPreferencesPanel.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/HostModelPanel.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/IconHelper.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/LayoutRegistryModelPanel.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/PluginModelPanel.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ProxyFeaturesPanel.java
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ServerRegistryPanel.java
Log:
remving the white - and restrincting platform LAF for Mac and Windows only
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ActivationGroupProfilePanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ActivationGroupProfilePanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ActivationGroupProfilePanel.java
Fri Jun 24 16:55:44 2005
@@ -109,7 +109,6 @@
m_label.setBorder( new EmptyBorder( 0, 5, 0, 10 ) );
JPanel labelPanel = new JPanel();
labelPanel.setLayout( new BorderLayout() );
- labelPanel.setBackground( Color.white );
labelPanel.add( m_label, BorderLayout.WEST );
labelPanel.setBorder( new EmptyBorder( 10, 6, 10, 6 ) );
@@ -119,7 +118,6 @@
JPanel panel = new JPanel();
panel.setLayout( new BoxLayout( panel, BoxLayout.Y_AXIS ) );
- panel.setBackground( Color.white );
//
// add commmit/revert controls and assemble the dialog
@@ -133,12 +131,10 @@
buttonHolder.add( m_ok );
buttonHolder.add( new JButton( new CloseAction( "Cancel" ) ) );
buttonHolder.setBorder( new EmptyBorder( 10, 10, 5, 0 ) );
- buttonHolder.setBackground( Color.white );
JPanel thing = new JPanel();
thing.setLayout( new BorderLayout() );
thing.add( panel, BorderLayout.NORTH );
- thing.setBackground( Color.white );
add( labelPanel, BorderLayout.NORTH );
add( thing , BorderLayout.CENTER );
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ApplicationProfilePanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ApplicationProfilePanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ApplicationProfilePanel.java
Fri Jun 24 16:55:44 2005
@@ -109,7 +109,6 @@
m_label.setBorder( new EmptyBorder( 0, 5, 0, 10 ) );
JPanel labelPanel = new JPanel();
labelPanel.setLayout( new BorderLayout() );
- labelPanel.setBackground( Color.white );
labelPanel.add( m_label, BorderLayout.WEST );
labelPanel.setBorder( new EmptyBorder( 10, 6, 10, 6 ) );
@@ -119,7 +118,6 @@
JPanel panel = new JPanel();
panel.setLayout( new BoxLayout( panel, BoxLayout.Y_AXIS ) );
- panel.setBackground( Color.white );
//
// create a box layout for the host base url and groups button
@@ -129,17 +127,14 @@
JPanel paths = new JPanel();
panel.add( paths );
paths.setLayout( new BorderLayout() );
- paths.setBackground( Color.white );
paths.setBorder(
new CompoundBorder(
new TitledBorder( null, "Plugin URI", TitledBorder.LEFT,
TitledBorder.TOP), border5 ) );
m_base = new JTextField( getBasePath() );
m_base.getDocument().addDocumentListener( this ); // listen for
changes
- m_base.setBackground( Color.white );
JPanel basePanel = new JPanel();
basePanel.setLayout( new BorderLayout() );
- basePanel.setBackground( Color.white );
basePanel.setBorder( new EmptyBorder( 0, 0, 0, 30 ) );
basePanel.add( m_base, BorderLayout.CENTER );
@@ -151,7 +146,6 @@
JPanel holder = new JPanel();
holder.setLayout( new BoxLayout( holder, BoxLayout.Y_AXIS ) );
- holder.setBackground( Color.white );
holder.setBorder(
new CompoundBorder(
new TitledBorder( null, "Parameters", TitledBorder.LEFT,
TitledBorder.TOP),
@@ -161,12 +155,10 @@
// add enabled status
m_enabled = new JCheckBox( new EnableAction( "Enabled" ) );
- m_enabled.setBackground( Color.white );
m_enabled.setSelected( m_profile.isEnabled() );
JPanel enabledPanel = new JPanel();
enabledPanel.setLayout( new BorderLayout() );
- enabledPanel.setBackground( Color.white );
enabledPanel.add( m_enabled, BorderLayout.WEST );
enabledPanel.add( m_enabled );
holder.add( enabledPanel );
@@ -183,12 +175,10 @@
buttonHolder.add( m_ok );
buttonHolder.add( new JButton( new CloseAction( "Cancel" ) ) );
buttonHolder.setBorder( new EmptyBorder( 10, 10, 5, 0 ) );
- buttonHolder.setBackground( Color.white );
JPanel thing = new JPanel();
thing.setLayout( new BorderLayout() );
thing.add( panel, BorderLayout.NORTH );
- thing.setBackground( Color.white );
add( labelPanel, BorderLayout.NORTH );
add( thing , BorderLayout.CENTER );
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ApplicationsRegistryPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ApplicationsRegistryPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ApplicationsRegistryPanel.java
Fri Jun 24 16:55:44 2005
@@ -99,7 +99,6 @@
//getHeader().addEntry( label, "Application Profile Registry", null
);
JPanel panel = new JPanel();
- panel.setBackground( Color.white );
panel.setLayout( new BorderLayout() );
TitledBorder tb =
new TitledBorder(
@@ -188,7 +187,6 @@
JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED );
scroller.setHorizontalScrollBarPolicy(
JScrollPane.HORIZONTAL_SCROLLBAR_NEVER );
- scroller.getViewport().setBackground( Color.white );
scroller.setViewportView( view );
return scroller;
}
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/CacheDirectoryPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/CacheDirectoryPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/CacheDirectoryPanel.java
Fri Jun 24 16:55:44 2005
@@ -108,7 +108,6 @@
JPanel panel = new JPanel();
panel.setLayout( new BorderLayout() );
- panel.setBackground( Color.white );
panel.add( label, BorderLayout.WEST );
add( panel, BorderLayout.NORTH );
@@ -121,7 +120,6 @@
buttonHolder.add( m_ok );
buttonHolder.add( new JButton( new CloseAction( "Cancel" ) ) );
buttonHolder.setBorder( new EmptyBorder( 10, 10, 5, 0 ) );
- buttonHolder.setBackground( Color.white );
add( buttonHolder, BorderLayout.SOUTH );
m_propertyChangeSupport.addPropertyChangeListener( this );
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/CacheModelPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/CacheModelPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/CacheModelPanel.java
Fri Jun 24 16:55:44 2005
@@ -113,7 +113,6 @@
getHeader().addEntry( label, "Cache Controller", new JButton(
controller ) );
JPanel hostPanel = new JPanel();
- hostPanel.setBackground( Color.white );
hostPanel.setLayout( new BorderLayout() );
TitledBorder tb =
new TitledBorder(
@@ -274,7 +273,6 @@
JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED );
scroller.setHorizontalScrollBarPolicy(
JScrollPane.HORIZONTAL_SCROLLBAR_NEVER );
- scroller.getViewport().setBackground( Color.white );
scroller.setViewportView( view );
return scroller;
}
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ClassicCredentialsPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ClassicCredentialsPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ClassicCredentialsPanel.java
Fri Jun 24 16:55:44 2005
@@ -106,21 +106,17 @@
JPanel rack = new JPanel();
rack.setLayout( new BoxLayout( rack, BoxLayout.Y_AXIS ) );
- rack.setBackground( Color.white );
m_username = new JTextField( getUserNameValue() );
m_username.getDocument().addDocumentListener( new
UsernameDocumentListener() );
- m_username.setBackground( Color.white );
rack.add( new LabelHolder( "Username:" ) );
rack.add( m_username );
m_password = new JPasswordField( new String( getPasswordValue()
) );
m_password.getDocument().addDocumentListener( new
PasswordDocumentListener() );
- m_password.setBackground( Color.white );
rack.add( new LabelHolder( "Password:" ) );
rack.add( m_password );
JPanel padding = new JPanel();
- padding.setBackground( Color.white );
padding.setLayout( new BorderLayout() );
padding.setBorder( new EmptyBorder( 10, 2, 5, 2) );
padding.add( rack, BorderLayout.NORTH );
@@ -137,7 +133,6 @@
panel.add( m_ok );
panel.add( new JButton( new CloseAction( "Close" ) ) );
panel.setBorder( new EmptyBorder( 10, 10, 5, 0 ) );
- panel.setBackground( Color.white );
add( panel, BorderLayout.SOUTH );
}
@@ -149,10 +144,8 @@
public LabelHolder( String text )
{
super( new BorderLayout() );
- setBackground( Color.white );
setBorder( new EmptyBorder( 5, 0, 5, 0 ) );
JLabel label = new JLabel( text );
- label.setBackground( Color.white );
add( label, BorderLayout.WEST );
}
}
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ClassicDialog.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ClassicDialog.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ClassicDialog.java
Fri Jun 24 16:55:44 2005
@@ -85,7 +85,6 @@
setTitle( title );
m_body = new JPanel();
m_body.setLayout( new BorderLayout() );
- m_body.setBackground( Color.white );
m_body.setBorder( new EmptyBorder( 10, 6, 0, 6 ) );
setContentPane( m_body );
setSize( size );
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 16:55:44 2005
@@ -75,12 +75,10 @@
public ClassicPanel()
{
super( new BorderLayout() );
- setBackground( Color.white );
m_header = new Header();
m_header.setLayout( new BoxLayout( m_header, BoxLayout.Y_AXIS ) );
m_header.setBorder( new EmptyBorder( 0, 6, 0, 6 ) );
- m_header.setBackground( Color.white );
add( m_header, BorderLayout.NORTH );
m_body = new Body();
@@ -89,7 +87,6 @@
m_footer = new JPanel();
m_footer.setLayout( new FlowLayout( FlowLayout.RIGHT ) );
m_footer.setBorder( new EmptyBorder( 10, 10, 5, 0 ) );
- m_footer.setBackground( Color.white );
add( m_footer, BorderLayout.SOUTH );
}
@@ -114,7 +111,6 @@
{
setLayout( new BoxLayout( m_header, BoxLayout.Y_AXIS ) );
setBorder( new EmptyBorder( 0, 6, 0, 6 ) );
- setBackground( Color.white );
}
public void addEntry( JLabel label, String title, Component
component )
@@ -122,10 +118,8 @@
JPanel holder = new JPanel();
holder.setLayout( new BoxLayout( holder, BoxLayout.Y_AXIS ) );
holder.setBorder( new EmptyBorder( 10, 6, 0, 6 ) );
- holder.setBackground( Color.white );
JPanel panel = new JPanel();
- panel.setBackground( Color.white );
panel.setLayout( new BorderLayout() );
panel.add( label, BorderLayout.CENTER );
panel.setBorder(
@@ -136,7 +130,6 @@
if( null != component )
{
JPanel buttons = new JPanel();
- buttons.setBackground( Color.white );
buttons.setLayout( new BorderLayout() );
buttons.add( component, BorderLayout.SOUTH );
panel.add( buttons, BorderLayout.EAST );
@@ -151,10 +144,8 @@
JPanel holder = new JPanel();
holder.setLayout( new BoxLayout( holder, BoxLayout.Y_AXIS ) );
holder.setBorder( new EmptyBorder( 10, 6, 0, 6 ) );
- holder.setBackground( Color.white );
JPanel panel = new JPanel();
- panel.setBackground( Color.white );
panel.setLayout( new BorderLayout() );
panel.add( label, BorderLayout.WEST );
panel.setBorder(
@@ -178,7 +169,6 @@
public Body()
{
super( new BorderLayout() );
- setBackground( Color.white );
setBorder( new EmptyBorder( 10, 6, 0, 6 ) );
}
@@ -186,7 +176,6 @@
{
JPanel panel = new JPanel();
- panel.setBackground( Color.white );
panel.setLayout( new BorderLayout() );
TitledBorder tb =
@@ -199,14 +188,12 @@
JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED );
scroller.setHorizontalScrollBarPolicy(
JScrollPane.HORIZONTAL_SCROLLBAR_NEVER );
- scroller.getViewport().setBackground( Color.white );
scroller.setViewportView( view );
panel.add( scroller );
JPanel controls = new JPanel();
controls.setBorder( new EmptyBorder( 10, 6, 0, 6 ) );
- controls.setBackground( Color.white );
controls.setLayout( new FlowLayout( FlowLayout.RIGHT ) );
for( int i=0; i<buttons.length; i++ )
{
@@ -236,7 +223,6 @@
dialog.setTitle( title );
JPanel frame = new JPanel();
frame.setLayout( new BorderLayout() );
- frame.setBackground( Color.white );
frame.setBorder( new EmptyBorder( 10, 6, 0, 6 ) );
frame.add( body, BorderLayout.CENTER );
dialog.setContentPane( frame );
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ClassicTable.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ClassicTable.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ClassicTable.java
Fri Jun 24 16:55:44 2005
@@ -141,7 +141,7 @@
*/
public void focusGained( FocusEvent event )
{
- setSelectionBackground( ENABLED_COLOR );
+ //setSelectionBackground( ENABLED_COLOR );
}
/**
@@ -150,7 +150,7 @@
*/
public void focusLost( FocusEvent event )
{
- setSelectionBackground( DISABLED_COLOR );
+ //setSelectionBackground( DISABLED_COLOR );
}
/**
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ContentRegistryModelPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ContentRegistryModelPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ContentRegistryModelPanel.java
Fri Jun 24 16:55:44 2005
@@ -102,7 +102,6 @@
getHeader().addEntry( label, "Content Management Controller", new
JButton( controller ) );
JPanel panel = new JPanel();
- panel.setBackground( Color.white );
panel.setLayout( new BorderLayout() );
TitledBorder tb =
new TitledBorder(
@@ -209,7 +208,6 @@
JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED );
scroller.setHorizontalScrollBarPolicy(
JScrollPane.HORIZONTAL_SCROLLBAR_NEVER );
- scroller.getViewport().setBackground( Color.white );
scroller.setViewportView( view );
return scroller;
}
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/DepotPreferencesFrame.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/DepotPreferencesFrame.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/DepotPreferencesFrame.java
Fri Jun 24 16:55:44 2005
@@ -79,8 +79,12 @@
{
super();
- String classname = UIManager.getSystemLookAndFeelClassName();
- UIManager.setLookAndFeel( classname );
+ String os = System.getProperty( "os.name" ).toLowerCase();
+ if( ( os.indexOf( "win" ) >= 0 ) || ( os.indexOf( "Mac OS" ) >= 0 ) )
+ {
+ String classname = UIManager.getSystemLookAndFeelClassName();
+ UIManager.setLookAndFeel( classname );
+ }
setTitle( "DPML DepotProfile" );
Dimension size = new Dimension( DEFAULT_DIALOG_WIDTH,
DEFAULT_DIALOG_HEIGHT );
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/DepotPreferencesPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/DepotPreferencesPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/DepotPreferencesPanel.java
Fri Jun 24 16:55:44 2005
@@ -195,7 +195,6 @@
Logger logger = Logger.getLogger( "depot.prefs" );
logger.log( Level.SEVERE, error, e );
}
-
}
}
);
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/HostModelPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/HostModelPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/HostModelPanel.java
Fri Jun 24 16:55:44 2005
@@ -129,7 +129,6 @@
m_label.setBorder( new EmptyBorder( 0, 5, 0, 10 ) );
JPanel labelPanel = new JPanel();
labelPanel.setLayout( new BorderLayout() );
- labelPanel.setBackground( Color.white );
labelPanel.add( m_label, BorderLayout.WEST );
labelPanel.setBorder( new EmptyBorder( 10, 6, 10, 6 ) );
@@ -139,7 +138,6 @@
JPanel panel = new JPanel();
panel.setLayout( new BoxLayout( panel, BoxLayout.Y_AXIS ) );
- panel.setBackground( Color.white );
//
// create a box layout for the host base url and groups button
@@ -149,17 +147,14 @@
JPanel paths = new JPanel();
panel.add( paths );
paths.setLayout( new BorderLayout() );
- paths.setBackground( Color.white );
paths.setBorder(
new CompoundBorder(
new TitledBorder( null, "Base URL", TitledBorder.LEFT,
TitledBorder.TOP), border5 ) );
m_base = new JTextField( getBasePath() );
m_base.getDocument().addDocumentListener( this ); // listen for
changes
- m_base.setBackground( Color.white );
JPanel basePanel = new JPanel();
basePanel.setLayout( new BorderLayout() );
- basePanel.setBackground( Color.white );
basePanel.setBorder( new EmptyBorder( 0, 0, 0, 30 ) );
basePanel.add( m_base, BorderLayout.CENTER );
@@ -167,7 +162,6 @@
knownGroups.setEnabled( false );
JPanel groupsPanel = new JPanel();
groupsPanel.setLayout( new BorderLayout() );
- groupsPanel.setBackground( Color.white );
groupsPanel.add( knownGroups, BorderLayout.EAST );
paths.add( basePanel, BorderLayout.CENTER );
@@ -180,14 +174,12 @@
JPanel layoutPlusCredentials = new JPanel();
layoutPlusCredentials.setLayout(
new BoxLayout( layoutPlusCredentials, BoxLayout.X_AXIS ) );
- layoutPlusCredentials.setBackground( Color.white );
panel.add( layoutPlusCredentials );
// resolver layout strategy
JPanel layout = new JPanel();
layout.setLayout( new BorderLayout() );
- layout.setBackground( Color.white );
layout.setBorder(
new CompoundBorder(
new TitledBorder( null, "Repository Layout", TitledBorder.LEFT,
TitledBorder.TOP),
@@ -204,7 +196,6 @@
JPanel credentials = new JPanel();
credentials.setLayout( new BoxLayout( credentials, BoxLayout.X_AXIS
) );
- credentials.setBackground( Color.white );
credentials.setBorder(
new CompoundBorder(
new TitledBorder( null, "Credentials", TitledBorder.LEFT,
TitledBorder.TOP),
@@ -218,7 +209,6 @@
JButton settings = new JButton( m_credentials );
JPanel settingsPanel = new JPanel();
settingsPanel.setLayout( new BorderLayout() );
- settingsPanel.setBackground( Color.white );
settingsPanel.add( keys, BorderLayout.WEST );
settingsPanel.add( settings, BorderLayout.EAST );
credentials.add( settingsPanel );
@@ -230,7 +220,6 @@
JPanel holder = new JPanel();
holder.setLayout( new BoxLayout( holder, BoxLayout.Y_AXIS ) );
- holder.setBackground( Color.white );
holder.setBorder(
new CompoundBorder(
new TitledBorder( null, "Parameters", TitledBorder.LEFT,
TitledBorder.TOP),
@@ -240,12 +229,10 @@
// add enabled status
m_enabled = new JCheckBox( new EnableAction( "Enabled" ) );
- m_enabled.setBackground( Color.white );
m_enabled.setSelected( m_model.getEnabled() );
JPanel enabledPanel = new JPanel();
enabledPanel.setLayout( new BorderLayout() );
- enabledPanel.setBackground( Color.white );
enabledPanel.add( m_enabled, BorderLayout.WEST );
enabledPanel.add( m_enabled );
holder.add( enabledPanel );
@@ -253,12 +240,10 @@
// add trusted status
m_trusted = new JCheckBox( new TrustedAction( "Trusted" ) );
- m_trusted.setBackground( Color.white );
m_trusted.setSelected( m_model.getTrusted() );
JPanel trustedPanel = new JPanel();
trustedPanel.setLayout( new BorderLayout() );
- trustedPanel.setBackground( Color.white );
trustedPanel.add( m_trusted, BorderLayout.WEST );
trustedPanel.add( m_trusted );
holder.add( trustedPanel );
@@ -275,12 +260,10 @@
buttonHolder.add( m_ok );
buttonHolder.add( new JButton( new CloseAction( "Cancel" ) ) );
buttonHolder.setBorder( new EmptyBorder( 10, 10, 5, 0 ) );
- buttonHolder.setBackground( Color.white );
JPanel thing = new JPanel();
thing.setLayout( new BorderLayout() );
thing.add( panel, BorderLayout.NORTH );
- thing.setBackground( Color.white );
add( labelPanel, BorderLayout.NORTH );
add( thing , BorderLayout.CENTER );
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/IconHelper.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/IconHelper.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/IconHelper.java
Fri Jun 24 16:55:44 2005
@@ -28,7 +28,8 @@
*/
public class IconHelper
{
- public static JLabel createImageIconJLabel( ClassLoader classloader,
String path, String description, String text )
+ public static JLabel createImageIconJLabel(
+ ClassLoader classloader, String path, String description, String text )
{
ImageIcon icon = createImageIcon( classloader, path, description );
JLabel label = new JLabel( text, icon, JLabel.LEFT );
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/LayoutRegistryModelPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/LayoutRegistryModelPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/LayoutRegistryModelPanel.java
Fri Jun 24 16:55:44 2005
@@ -101,7 +101,6 @@
getHeader().addEntry( label, "Layout Registry Controller", new
JButton( controller ) );
JPanel panel = new JPanel();
- panel.setBackground( Color.white );
panel.setLayout( new BorderLayout() );
TitledBorder tb =
new TitledBorder(
@@ -226,7 +225,6 @@
JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED );
scroller.setHorizontalScrollBarPolicy(
JScrollPane.HORIZONTAL_SCROLLBAR_NEVER );
- scroller.getViewport().setBackground( Color.white );
scroller.setViewportView( view );
return scroller;
}
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/PluginModelPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/PluginModelPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/PluginModelPanel.java
Fri Jun 24 16:55:44 2005
@@ -137,7 +137,6 @@
m_manager.addCodeBaseListener( m_listener );
setLayout( new BorderLayout() );
- setBackground( Color.white );
// create a label containing an icon and label
@@ -148,7 +147,6 @@
label.setBorder( new EmptyBorder( 0, 5, 0, 0 ) );
JPanel panel = new JPanel();
panel.setLayout( new BorderLayout() );
- panel.setBackground( Color.white );
panel.add( label, BorderLayout.WEST );
add( panel, BorderLayout.NORTH );
}
@@ -158,24 +156,20 @@
{
JPanel holder = new JPanel();
- holder.setBackground( Color.white );
holder.setLayout( new BorderLayout() );
JPanel panel = new JPanel();
panel.setLayout( new BoxLayout( panel, BoxLayout.Y_AXIS ) );
- panel.setBackground( Color.white );
panel.setBorder( new EmptyBorder( 10, 10, 10, 10 ) );
{
// add the text field
JPanel padding = new JPanel();
- padding.setBackground( Color.white );
padding.setLayout( new BorderLayout() );
padding.setBorder( new EmptyBorder( 10, 2, 5, 2) );
String artifact = getControllerFieldText();
m_base = new JTextField( artifact );
m_base.getDocument().addDocumentListener( this ); // listen
for changes
- m_base.setBackground( Color.white );
padding.add( m_base );
panel.add( padding );
}
@@ -190,7 +184,6 @@
new EmptyBorder( 5, 5, 5, 10)
)
);
- settingsPanel.setBackground( Color.white );
settingsPanel.setLayout( new BorderLayout() );
m_settings = new SettingsAction( "Controller Settings",
m_parent );
JButton settings = new JButton( m_settings );
@@ -210,7 +203,6 @@
panel.add( m_ok );
panel.add( new JButton( new CloseAction( "Close" ) ) );
panel.setBorder( new EmptyBorder( 10, 10, 5, 0 ) );
- panel.setBackground( Color.white );
add( panel, BorderLayout.SOUTH );
}
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ProxyFeaturesPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ProxyFeaturesPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ProxyFeaturesPanel.java
Fri Jun 24 16:55:44 2005
@@ -110,12 +110,10 @@
label.setBorder( new EmptyBorder( 0, 5, 0, 0 ) );
JPanel padding = new JPanel();
- padding.setBackground( Color.white );
padding.setLayout( new BorderLayout() );
padding.setBorder( new EmptyBorder( 10, 2, 5, 2) );
m_base = new JTextField( m_host );
m_base.getDocument().addDocumentListener( this ); // listen for
changes
- m_base.setBackground( Color.white );
padding.add( m_base );
getHeader().addStackedEntry( label, "Proxy Server", padding );
@@ -142,7 +140,6 @@
panel.add( m_ok );
panel.add( m_close );
panel.setBorder( new EmptyBorder( 10, 10, 5, 0 ) );
- panel.setBackground( Color.white );
add( panel, BorderLayout.SOUTH );
}
Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ServerRegistryPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ServerRegistryPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/ServerRegistryPanel.java
Fri Jun 24 16:55:44 2005
@@ -100,7 +100,6 @@
//getHeader().addEntry( label, "Application Profile Registry", null
);
JPanel panel = new JPanel();
- panel.setBackground( Color.white );
panel.setLayout( new BorderLayout() );
TitledBorder tb =
new TitledBorder(
@@ -189,7 +188,6 @@
JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED );
scroller.setHorizontalScrollBarPolicy(
JScrollPane.HORIZONTAL_SCROLLBAR_NEVER );
- scroller.getViewport().setBackground( Color.white );
scroller.setViewportView( view );
return scroller;
}
- svn commit: r2918 - development/main/depot/prefs/src/main/net/dpml/depot/prefs, mcconnell, 06/24/2005
Archive powered by MHonArc 2.6.24.