浏览代码

Fixes small inconsistencies

Andreas T. Meyer-Berg 6 年之前
父节点
当前提交
b50703310d
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/main/java/de/tu_darmstadt/tk/SmartHomeNetworkSim/view/PortEditorPanel.java

+ 3 - 3
src/main/java/de/tu_darmstadt/tk/SmartHomeNetworkSim/view/PortEditorPanel.java

@@ -252,13 +252,13 @@ public class PortEditorPanel extends JPanel
      * Test the Panel
      */
     private static void testGUI() {
-        JFrame frame = new JFrame("SplitPaneDemo");
+        JFrame frame = new JFrame("Port Editor");
         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         SmartDevice test = new SmartDevice("TestDevice");
         test.addPort(new Port(test, (short) 1));
         test.addPort(new Port(test, (short) 2));
-        PortEditorPanel splitPaneDemo = new PortEditorPanel(test);
-        frame.getContentPane().add(splitPaneDemo.getSplitPane());
+        PortEditorPanel portEditorPanel = new PortEditorPanel(test);
+        frame.getContentPane().add(portEditorPanel.getSplitPane());
  
         frame.pack();
         frame.setVisible(true);