public void BackRound(Color color)
{
EIrc.this.setBackground(color);
EIrc.this.repaint();
LeftPanel.setBackground(color);
LeftPanel.repaint();
RightPanel.setBackground(color);
RightPanel.repaint();
LP.Tabbedpane.setBackground(color);
LP.Tabbedpane.repaint();
LP.Panelrecherche.setBackground(color);
LP.Panelrecherche.repaint();
LP.PanelRechercheSalon.setBackground(color);
LP.PanelRechercheSalon.repaint();
LP.Panelsalon.setBackground(color);
LP.Panelsalon.setBackground(color);
RP.Panel.setBackground(color);
RP.Panel.repaint();
RP.PanelGenerale.setBackground(color);
RP.PanelGenerale.repaint();
RP.PanelPV.setBackground(color);
RP.PanelPV.repaint();
RP.PanelSaisie.setBackground(color);
RP.PanelSaisie.repaint();
RP.PanelSalon.setBackground(color);
RP.PanelSalon.repaint();
RP.PanelTxt.setBackground(color);
RP.TabbedPV.setBackground(color);
RP.TabbedPV.repaint();
RP.TabbedSalon.setBackground(color);
RP.TabbedSalon.repaint();
RP.Paneltxt().repaint();
RP.paneltab.setBackground(color);
RP.paneltab.repaint();
RP.BackRound(color);
RP.GSP.Panelbarre.setBackground(color);
RP.GSP.Panelbarre.repaint();
/*SwingUtilities.updateComponentTreeUI(LP.LeftPan);
SwingUtilities.updateComponentTreeUI(RightPanel);
SwingUtilities.updateComponentTreeUI(jSplitPane);
SwingUtilities.updateComponentTreeUI(PanelHaut);
SwingUtilities.updateComponentTreeUI(option);*/
}
Partager