JButton selectedBtn = (JButton) e.getSource();
for (JButton btn : numBtn) {
if (selectedBtn == btn) {
appendToOutput(btn.getText());
updateOutput();
}
}
btn.setFocusable(false);
btn.setBorderPainted(false);