--- projects/cms/source/conient/uk/org/iscream/cms/conient/HostDisplayPanel.java 2002/05/28 15:38:29 1.43 +++ projects/cms/source/conient/uk/org/iscream/cms/conient/HostDisplayPanel.java 2002/06/10 12:06:08 1.44 @@ -50,7 +50,7 @@ import javax.swing.ImageIcon; * values in the packet. * * @author $Author: tdb $ - * @version $Id: HostDisplayPanel.java,v 1.43 2002/05/28 15:38:29 tdb Exp $ + * @version $Id: HostDisplayPanel.java,v 1.44 2002/06/10 12:06:08 tdb Exp $ */ public class HostDisplayPanel extends JPanel { @@ -59,7 +59,7 @@ public class HostDisplayPanel extends JPanel { /** * The current CVS revision of this class */ - public final String REVISION = "$Revision: 1.43 $"; + public final String REVISION = "$Revision: 1.44 $"; //---STATIC METHODS--- @@ -227,6 +227,8 @@ public class HostDisplayPanel extends JPanel { memory.setLayout(new BoxLayout(memory, BoxLayout.Y_AXIS)); addVisibleDataComponent(memory, new StorageDataComponent("Memory in use", "packet.memory.free", "packet.memory.total","Mb")); addVisibleDataComponent(memory, new StorageDataComponent("Swap in use", "packet.swap.free", "packet.swap.total", "Mb")); + addVisibleDataComponent(memory, new StringDataComponent("Number of pages in", "packet.pages.swapins")); + addVisibleDataComponent(memory, new StringDataComponent("Number of pages out", "packet.pages.swapouts")); // theses next two are DataComponents, but not VisibleDataComponents // this is because they hold the value but do NOT display it // just so we ignore the data, because the StorageDataComponent handles it