@@ -68,11 +68,8 @@ public class DemoFrame extends JFrame {
6868 RETURN_PANEL_SIZE = new Dimension (PANEL_WIDTH , 250 ),
6969 METHOD_PANEL_SIZE = new Dimension (PANEL_WIDTH , 110 + 28 * ArrayPanel .NUM_ENTRIES ),
7070 DESCRIPTION_PANE_SIZE = new Dimension (PANEL_WIDTH , 200 ),
71- COMMAND_PANEL_SIZE = new Dimension (PANEL_WIDTH , METHOD_PANEL_SIZE .height +
72- DESCRIPTION_PANE_SIZE .height ),
73- MAIN_PANEL_SIZE = new Dimension (PANEL_WIDTH , CONNECTION_PANEL_SIZE .height +
74- COMMAND_PANEL_SIZE .height +
75- RETURN_PANEL_SIZE .height );
71+ COMMAND_PANEL_SIZE = new Dimension (PANEL_WIDTH , METHOD_PANEL_SIZE .height + DESCRIPTION_PANE_SIZE .height ),
72+ MAIN_PANEL_SIZE = new Dimension (PANEL_WIDTH , CONNECTION_PANEL_SIZE .height + COMMAND_PANEL_SIZE .height + RETURN_PANEL_SIZE .height );
7673 //Factory to create proxy
7774 private final MatlabProxyFactory _factory ;
7875
@@ -86,7 +83,7 @@ public class DemoFrame extends JFrame {
8683
8784 public static BufferedImage getIcon () {
8885 try {
89- return ImageIO .read (DemoFrame .class .getResource ("/matlabcontrol/demo/icon .png" ));
86+ return ImageIO .read (DemoFrame .class .getResource ("/matlabcontrol/demo/logo_128 .png" ));
9087 } catch (Exception e ) {
9188 e .printStackTrace ();
9289 return new BufferedImage (1 , 1 , BufferedImage .TYPE_INT_RGB );
@@ -190,7 +187,6 @@ public void run() {
190187 status = STATUS_CONNECTED_EXISTING ;
191188 } else {
192189 status = STATUS_CONNECTED_LAUNCHED ;
193-
194190 }
195191 connectionPanel .setBorder (BorderFactory .createTitledBorder (status ));
196192
0 commit comments