fix(gui): quick fix for duplicate/overlapping logcat windows (#1752)(PR #1761)

* Simple fix to duplicate/overlapping logcat windows. Could be improved by not re-creating UI every time
* Apply suggestions from code review
* Another try to fix trailing spaces using GitHub suggestions

Co-authored-by: Zach Snell <zach.snell@bivalogic.com>
Co-authored-by: skylot <118523+skylot@users.noreply.github.com>
This commit is contained in:
Zach Snell
2023-01-21 11:07:27 -06:00
committed by GitHub
parent 068e4b8e3d
commit 1c36b3c74c
@@ -94,6 +94,8 @@ public class LogcatPanel extends JPanel {
};
public boolean showLogcat() {
this.removeAll();
ArrayList<String> pkgs = new ArrayList<>();
pids = new ArrayList<>();
JPanel procBox;