DELL
2024-09-23 174706a42f9484dabfb236b99358b4a8f6c371ad
修改版本号
2个文件已修改
7 ■■■■■ 已修改文件
Device_Simulator_DTS_Tester/bin/main/main_window_computer.class 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/src/main/main_window_computer.java 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Device_Simulator_DTS_Tester/bin/main/main_window_computer.class
Binary files differ
Device_Simulator_DTS_Tester/src/main/main_window_computer.java
@@ -2212,14 +2212,15 @@
    
    public static void setComponentsColor(Container container) {
        if(container instanceof JPanel) {
            ((JPanel) container).setBackground(new Color(112, 181, 208));
            //((JPanel) container).setBackground(new Color(112, 181, 208));
            ((JPanel) container).setBackground(new Color(0,254,254));
        }
        for (Component component : container.getComponents()) {
            if (component instanceof JPanel) {
                ((JPanel) component).setBackground(new Color(112, 181, 208));
                ((JPanel) component).setBackground(new Color(0,254,254));
                setComponentsColor((Container)component);
            }else if(component instanceof JTabbedPane) {
                ((JTabbedPane) component).setBackground(new Color(112, 181, 208));
                ((JTabbedPane) component).setBackground(new Color(0,254,254));
                setComponentsColor((Container)component);
            }
        }