|
@@ -5,6 +5,7 @@ import java.awt.Rectangle;
|
|
|
import javax.swing.JFrame;
|
|
|
|
|
|
import de.tu_darmstadt.tk.SmartHomeNetworkSim.control.Controller;
|
|
|
+import de.tu_darmstadt.tk.SmartHomeNetworkSim.view.util.Utility;
|
|
|
|
|
|
|
|
|
/**
|
|
@@ -26,6 +27,8 @@ public class NetworkTreeWindow extends JFrame {
|
|
|
public NetworkTreeWindow(Controller controller) {
|
|
|
setBounds(new Rectangle(0, 0, 800, 600));
|
|
|
setResizable(true);
|
|
|
+ setTitle("Network Tree View");
|
|
|
+ setIconImage(Utility.loadFile("images/smartHome_icon.png"));
|
|
|
this.setContentPane(new NetworkTreePanel(controller,this));
|
|
|
}
|
|
|
}
|