From fa135f96df2c6241afd3feea8f8999bba414d995 Mon Sep 17 00:00:00 2001 From: Leon Dieter <Leon Dieter@DESKTOP-L4JC8N4> Date: Thu, 14 Jan 2021 17:25:08 +0100 Subject: [PATCH] Buttons rechts ausgeblendet --- src/tec/letsgoing/ardublock/simulator/view/GUI.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/tec/letsgoing/ardublock/simulator/view/GUI.java b/src/tec/letsgoing/ardublock/simulator/view/GUI.java index 1c3b507..6d934f4 100644 --- a/src/tec/letsgoing/ardublock/simulator/view/GUI.java +++ b/src/tec/letsgoing/ardublock/simulator/view/GUI.java @@ -53,8 +53,8 @@ public class GUI extends JFrame implements Runnable, ActionListener { private Modul[] modules = new Modul[4]; private volatile boolean stopFlag = false; private JTextArea serialLog = new JTextArea(); - private static int xscale= 700; - private static int yscale= 700; + private static int xscale= 1080; + private static int yscale= 1080; /** * Konstruktor der Klasse GUI @@ -136,7 +136,8 @@ public class GUI extends JFrame implements Runnable, ActionListener { modulPanel.add(modules[3].getPane(), BorderLayout.PAGE_END); mainPane.add(modulPanel, BorderLayout.CENTER); - mainPane.add(createControlPanel(simu), BorderLayout.LINE_END); + //Panel der Buttons auf der rechten Seite wird ausgeblendet + //mainPane.add(createControlPanel(simu), BorderLayout.LINE_END); mainPane.add(createSerialLog(), BorderLayout.PAGE_END); this.pack(); // this.setLocation(-1300, 0); //M�glichkeit die Renderingposition festzulegen -- GitLab