graphics – I did a code to make a house but I cannot make the lines in the windows? Can you show me how to do the lines for the windows?

Simply, 4 lines and 2 for each window? The windows are yellow squares. So a line up and across. I tried to figure it out but I just couldn’t.
I use repl.it and the code is below. And By the way, I use java swing and am on the topic of graphics
Code is below:

import javax.swing.JFrame;
import java.awt.Graphics;
import java.awt.Color;
import java.awt.Canvas;

class Main
{
public static void main( String args() )
{
GraphicsRunner run = new GraphicsRunner();
}
}

class GraphicsRunner extends JFrame
{
private static final int WIDTH = 800;
private static final int HEIGHT = 600;

public GraphicsRunner()
{
super(“Graphics Runner”);

setSize(WIDTH,HEIGHT);

getContentPane().add(new House());

//add other classes to run them 
//House, Robot, or ShapePanel 

setVisible(true);

setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

}
}

class House extends Canvas
{
public House() //constructor – sets up the class
{
setSize(800,600);
setBackground(Color.BLUE);
setVisible(true);
}

public void paint( Graphics window )
{
house(window);
}

public void house( Graphics window )
{
window.setColor(Color.BLUE);

  window.drawString( "CRAZY HOUSE ", 50, 50 );

  window.setColor(Color.GREEN);

  window.fillRect( 200, 200, 400, 400);
    window.setColor(Color.WHITE);
  window.fillRect( 320, 390, 150, 200);
  window.setColor(Color.BLACK);
  window.fillRect( 160, 200, 480, 80);
  window.setColor(Color.YELLOW);
  window.fillRect( 250, 325, 50, 50);
    window.setColor(Color.YELLOW);
  window.fillRect( 500, 325, 50, 50);
  window.setColor(Color.BLACK);
    window.drawLine();

}
}