Try this:


package test;

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