From: <kev...@us...> - 2011-11-30 11:24:43
|
Revision: 19209 http://jmri.svn.sourceforge.net/jmri/?rev=19209&view=rev Author: kevin-dickerson Date: 2011-11-30 11:24:36 +0000 (Wed, 30 Nov 2011) Log Message: ----------- Tidy up neighbour lists and traffic flow Modified Paths: -------------- trunk/jmri/java/src/jmri/jmrit/display/layoutEditor/LayoutBlock.java Modified: trunk/jmri/java/src/jmri/jmrit/display/layoutEditor/LayoutBlock.java =================================================================== --- trunk/jmri/java/src/jmri/jmrit/display/layoutEditor/LayoutBlock.java 2011-11-30 11:03:50 UTC (rev 19208) +++ trunk/jmri/java/src/jmri/jmrit/display/layoutEditor/LayoutBlock.java 2011-11-30 11:24:36 UTC (rev 19209) @@ -778,8 +778,7 @@ for(int i = 0; i<getNumberOfNeighbours(); i++){ JPanel panel = new JPanel(); panel.setLayout(new FlowLayout()); - panel.add(new JLabel(getNeighbourAtIndex(i).getDisplayName())); - panel.add(new JLabel(neighbours.get(i).getPacketFlow() + " " + getNeighbourPacketFlowAsString(i))); + panel.add(new JLabel("Attached Block: " + getNeighbourAtIndex(i).getDisplayName())); JComboBox dir = new JComboBox(working); Block blk = neighbours.get(i).getBlock(); if(block.isBlockDenied(blk)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |