Changeset 139 in tmcsimulator-scriptbuilder
- Timestamp:
- 11/29/2017 10:23:31 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/scriptbuilder/gui/ScriptBuilderFrame.java
r132 r139 1676 1676 txtIncidentLength.setText("0"); 1677 1677 incidentColorField.setBackground(Color.BLACK); 1678 String colStr = "" + Integer.toHexString(Color.BLACK.getRed()) 1679 + Integer.toHexString(Color.BLACK.getGreen()) 1680 + Integer.toHexString(Color.BLACK.getBlue()); 1681 incidentColorField.setText(colStr); 1678 1682 selectedColor = Color.BLACK; 1679 1683 addIncidentDescription.setText(""); … … 1810 1814 //addIncidentLength.setValue(i.length / 60); 1811 1815 incidentColorField.setBackground(i.color); 1816 String colStr = "" + Integer.toHexString(i.color.getRed()) 1817 + Integer.toHexString(i.color.getGreen()) 1818 + Integer.toHexString(i.color.getBlue()); 1819 incidentColorField.setText(colStr); 1812 1820 selectedColor = i.color; 1813 1821 addIncidentDescription.setText(i.description); … … 2072 2080 selectedColor = newColor; 2073 2081 incidentColorField.setBackground(newColor); 2082 String colStr = "" + Integer.toHexString(newColor.getRed()) 2083 + Integer.toHexString(newColor.getGreen()) 2084 + Integer.toHexString(newColor.getBlue()); 2085 incidentColorField.setText(colStr); 2074 2086 } 2075 2087 //Return focus to the properties frame
Note: See TracChangeset
for help on using the changeset viewer.
