1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-17 06:52:18 +01:00

Setting Arduino icon for serial monitor window.

http://code.google.com/p/arduino/issues/detail?id=564
This commit is contained in:
David Mellis 2011-08-24 11:57:58 -04:00
parent 0020105283
commit bd6c90e5b8

View File

@ -196,8 +196,10 @@ public class Editor extends JFrame implements RunnerListener {
//PdeKeywords keywords = new PdeKeywords(); //PdeKeywords keywords = new PdeKeywords();
//sketchbook = new Sketchbook(this); //sketchbook = new Sketchbook(this);
if (serialMonitor == null) if (serialMonitor == null) {
serialMonitor = new SerialMonitor(Preferences.get("serial.port")); serialMonitor = new SerialMonitor(Preferences.get("serial.port"));
serialMonitor.setIconImage(getIconImage());
}
buildMenuBar(); buildMenuBar();