Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2930 - development/main/depot/prefs/src/main/net/dpml/depot/prefs

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell AT dpml.net
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2930 - development/main/depot/prefs/src/main/net/dpml/depot/prefs
  • Date: Tue, 28 Jun 2005 02:48:21 -0400

Author: mcconnell AT dpml.net
Date: Tue Jun 28 02:48:20 2005
New Revision: 2930

Modified:

development/main/depot/prefs/src/main/net/dpml/depot/prefs/ClassicPanel.java

development/main/depot/prefs/src/main/net/dpml/depot/prefs/TransitPanel.java
Log:
Improvements to transit info layout.

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
Tue Jun 28 02:48:20 2005
@@ -86,7 +86,8 @@

m_footer = new JPanel();
m_footer.setLayout( new FlowLayout( FlowLayout.RIGHT ) );
- m_footer.setBorder( new EmptyBorder( 10, 10, 5, 0 ) );
+ //m_footer.setBorder( new EmptyBorder( 10, 10, 5, 0 ) );
+ m_footer.setBorder( new EmptyBorder( 5, 10, 5, 0 ) );
add( m_footer, BorderLayout.SOUTH );
}


Modified:
development/main/depot/prefs/src/main/net/dpml/depot/prefs/TransitPanel.java
==============================================================================
---
development/main/depot/prefs/src/main/net/dpml/depot/prefs/TransitPanel.java
(original)
+++
development/main/depot/prefs/src/main/net/dpml/depot/prefs/TransitPanel.java
Tue Jun 28 02:48:20 2005
@@ -76,7 +76,7 @@
*
* @author <a href="mailto:mcconnell AT osm.net";>OSM</a>
*/
-class TransitPanel extends ClassicPanel
+class TransitPanel extends JPanel
{
//--------------------------------------------------------------
// state
@@ -96,13 +96,24 @@

public TransitPanel( Window parent, TransitModel model ) throws Exception
{
- super();
+ super( new BorderLayout() );

m_model = model;
m_parent = parent;

+ String name = model.getID();
+ JLabel label = new JLabel();
+ label.setText( "ID: " + name );
+ label.setBorder( new EmptyBorder( 0, 5, 0, 10 ) );
+ JPanel labelPanel = new JPanel();
+ labelPanel.setLayout( new BorderLayout() );
+ labelPanel.add( label, BorderLayout.WEST );
+ labelPanel.setBorder( new EmptyBorder( 10, 6, 10, 6 ) );
+
+ add( labelPanel, BorderLayout.NORTH );
+
final JTabbedPane tabbedPane = new JTabbedPane();
- tabbedPane.setBorder( new EmptyBorder( 0, OFFSET, OFFSET, OFFSET ) );
+ //tabbedPane.setBorder( new EmptyBorder( 0, OFFSET, OFFSET, OFFSET )
);

//
// add the different management models to the tabbed pane



  • svn commit: r2930 - development/main/depot/prefs/src/main/net/dpml/depot/prefs, mcconnell, 06/28/2005

Archive powered by MHonArc 2.6.24.

Top of Page