How to change Background color when i click a button
问题 My Problem is only just a little part that change color.I want to change the whole background when i click those buttons.I search already in google nothing happens. I Use Panel but it seems not only a little part that it can changes i want a whole background. import java.awt.event.MouseListener; import javax.swing.JOptionPane; import java.awt.event.*; /** * * * @author Christopher Porras * @Version 0.1 * @Doing GUI */ public class Button extends JFrame { private JButton bred; private JButton