/*
 * Copyright ©1998-2021 by Richard A. Wilkes. All rights reserved.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, version 2.0. If a copy of the MPL was not distributed with
 * this file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This Source Code Form is "Incompatible With Secondary Licenses", as
 * defined by the Mozilla Public License, version 2.0.
 */

package com.trollworks.gcs.ui.widget;

import com.trollworks.gcs.ui.Colors;

import java.awt.Component;
import javax.swing.JScrollPane;

public class ScrollPanel extends JScrollPane {
    public ScrollPanel(Component view) {
        super(view);
        setBorder(null);
        getViewport().setBackground(Colors.BACKGROUND);
    }

    public ScrollPanel(Component header, Component view) {
        this(view);
        setColumnHeaderView(header);
    }
}

@@ -542,16 +542,56 @@
 ollPane;
+%0Aimport javax.swing.ScrollPaneConstants;
 %0A%0Apublic
@@ -774,16 +774,88 @@
 ROUND);%0A
+        setCorner(ScrollPaneConstants.LOWER_RIGHT_CORNER, new Panel());%0A
     %7D%0A%0A 
@@ -924,32 +924,32 @@
     this(view);%0A
-
         setColum
@@ -969,16 +969,88 @@
 eader);%0A
+        setCorner(ScrollPaneConstants.UPPER_RIGHT_CORNER, new Panel());%0A
     %7D%0A%7D%0A

Fill in the upper and lower right corners