I just wanted to know if there was a way of making this code simpler. Thanks.
private void btnBlueActionPerformed(java.awt.event.ActionEvent evt) { btnConvert.setBackground(new java.awt.Color(84, 209, 241)); //Changes the colors to blue btnReset.setBackground(new java.awt.Color(84, 209, 241)); //Changes the colors to blue btnClose.setBackground(new java.awt.Color(84, 209, 241)); //Changes the colors to blue btnInfo.setBackground(new java.awt.Color(84, 209, 241)); //Changes the colors to blue txtIncome.setBackground(new java.awt.Color(127, 228, 255)); //Changes the colors to blue txtPayable.setBackground(new java.awt.Color(127, 228, 255));//Changes the colors to blue txtStatus.setBackground(new java.awt.Color(127, 228, 255)); //Changes the colors to blue txtIncome.setForeground(new java.awt.Color(89, 89, 89)); //Changes the colors to blue txtPayable.setForeground(new java.awt.Color(89, 89, 89)); //Changes the colors to blue txtStatus.setForeground(new java.awt.Color(89, 89, 89)); //Changes the colors to blue }