From 2153eaa6f0949eae3c7137caa625c080c7141380 Mon Sep 17 00:00:00 2001 From: "Penn, John M 047828115" Date: Mon, 30 Aug 2021 12:30:35 -0500 Subject: [PATCH] Add print statement back to configure. Tidy up GridLayout instnciation. #28 #1183 --- autoconf/configure.ac | 2 +- configure | 2 +- .../src/main/java/trick/simcontrol/SimControlApplication.java | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 01dfd339..49d8ab00 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -534,5 +534,5 @@ AX_ER7_UTILS([]) AC_CONFIG_FILES([share/trick/makefiles/config_user.mk]) AC_OUTPUT - +printf "\033@<:@32mconfigure script successfully completed\033@<:@0m\n" diff --git a/configure b/configure index c8434bc0..1da461f7 100755 --- a/configure +++ b/configure @@ -11291,6 +11291,6 @@ printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 fi - +printf "\033[32mconfigure script successfully completed\033[0m\n" diff --git a/trick_source/java/src/main/java/trick/simcontrol/SimControlApplication.java b/trick_source/java/src/main/java/trick/simcontrol/SimControlApplication.java index 96180d6f..1bd6cfec 100644 --- a/trick_source/java/src/main/java/trick/simcontrol/SimControlApplication.java +++ b/trick_source/java/src/main/java/trick/simcontrol/SimControlApplication.java @@ -970,9 +970,8 @@ public class SimControlApplication extends TrickApplication implements PropertyC JXPanel commandsPanel = new JXPanel(); titledCommandsPanel.setContentContainer(commandsPanel); - GridLayout gridLayout = null; // 2 columns and 5 rows, each component has the same width and height. - gridLayout = new GridLayout(5,2,2,4); + GridLayout gridLayout = new GridLayout(5,2,2,4); commandsPanel.setLayout(gridLayout);