227 |
|
memory.setLayout(new BoxLayout(memory, BoxLayout.Y_AXIS)); |
228 |
|
addVisibleDataComponent(memory, new StorageDataComponent("Memory in use", "packet.memory.free", "packet.memory.total","Mb")); |
229 |
|
addVisibleDataComponent(memory, new StorageDataComponent("Swap in use", "packet.swap.free", "packet.swap.total", "Mb")); |
230 |
+ |
addVisibleDataComponent(memory, new StringDataComponent("Number of pages in", "packet.pages.swapins")); |
231 |
+ |
addVisibleDataComponent(memory, new StringDataComponent("Number of pages out", "packet.pages.swapouts")); |
232 |
|
// theses next two are DataComponents, but not VisibleDataComponents |
233 |
|
// this is because they hold the value but do NOT display it |
234 |
|
// just so we ignore the data, because the StorageDataComponent handles it |