505152535455565758
return true; } @Override public void actionPerformed(ActionEvent e) { MemoryMeter meter = MemoryMeter.getInstance(); meter.setVisible(!meter.isVisible()); putValue(Action.SELECTED_KEY, meter.isVisible()); }
575859606162636465
putValue(Action.SELECTED_KEY, meter.isVisible()); } @Override public boolean canHandle(ActionContext context) { MemoryMeter meter = MemoryMeter.getInstance(); putValue(Action.SELECTED_KEY, meter.isVisible()); return true; }