Here you can find the source of setColorsDarkTheme()
public static void setColorsDarkTheme()
//package com.java2s; /*/*from w w w .jav a 2s .c o m*/ DrMIPS - Educational MIPS simulator Copyright (C) 2013-2015 Bruno Nova <brunomb.nova@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ import java.awt.Color; public class Main { /** Color of a wire in the datapath. */ public static Color wireColor; /** Color of the control path in the datapath. */ public static Color controlPathColor; /** Color of the critical path in the datapath. */ public static Color criticalPathColor; /** Color of a "irrelevant" wire in the datapath. */ public static Color irrelevantColor; /** Color of a register/address being read. */ public static Color readColor; /** Color of a register/address being written. */ public static Color writeColor; /** Color of a register/address being read and written at the same time. */ public static Color rwColor; /** Color of an instruction being executed (unicycle). */ public static Color instColor; /** Color of the IF pipeline stage. */ public static Color ifColor; /** Color of the ID pipeline stage. */ public static Color idColor; /** Color of the EX pipeline stage. */ public static Color exColor; /** Color of the MEM pipeline stage. */ public static Color memColor; /** Color of the WB pipeline stage. */ public static Color wbColor; public static void setColorsDarkTheme() { wireColor = Color.WHITE; controlPathColor = new Color(0, 170, 230); criticalPathColor = Color.RED; irrelevantColor = Color.GRAY; readColor = new Color(0, 128, 0); writeColor = new Color(128, 0, 0); rwColor = new Color(128, 128, 0); instColor = new Color(110, 110, 110); ifColor = new Color(0, 128, 128); idColor = readColor; exColor = rwColor; memColor = writeColor; wbColor = new Color(128, 0, 128); } }