PSurfaceAWT.SmoothCanvas_SquareNuisance

Other than setting the canvas bounds outside of the frame is there any way to get rid of this pesky colored square?

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

javax.swing.JFrame frame;
java.awt.Canvas canvas;

void setup() {
  frame = (javax.swing.JFrame) ((processing.awt.PSurfaceAWT.SmoothCanvas) surface.getNative()).getFrame();
  println("frame = " + frame);
  canvas = (processing.awt.PSurfaceAWT.SmoothCanvas) ((processing.awt.PSurfaceAWT)surface).getNative();
  println("canvas = " + canvas);
  frame.setBounds(500, 300, 400, 200);
 // canvas.setBounds(500, 300, 400, 200); // To avoid seeing default canvas square
}

It appears ‘frame.remove(canvas);’ _may be the answer; hopefully I can display components without having the canvas.