/** * Toggle the info display in the calculator's status area between the author and version * information. */ private void showInfo() { if (showingAuthor) status.setText(calc.getVersion()); else status.setText(calc.getAuthor()); showingAuthor = !showingAuthor; }