221 |
|
memory.setLayout(new BoxLayout(memory, BoxLayout.Y_AXIS)); |
222 |
|
addVisibleDataComponent(memory, new StorageDataComponent("Memory in use", "packet.memory.free", "packet.memory.total", "Mb", 1024*1024)); |
223 |
|
addVisibleDataComponent(memory, new StorageDataComponent("Swap in use", "packet.swap.free", "packet.swap.total", "Mb", 1024*1024)); |
224 |
< |
addVisibleDataComponent(memory, new IODataComponent("Pages in/out", "packet.pages.swapins", "packet.pages.swapouts")); |
224 |
> |
addVisibleDataComponent(memory, new IODataComponent("Pages in/out", "packet.pages.pageins", "packet.pages.pageouts")); |
225 |
|
// theses next two are DataComponents, but not VisibleDataComponents |
226 |
|
// this is because they hold the value but do NOT display it |
227 |
|
// just so we ignore the data, because the StorageDataComponent handles it |