import java.awt.Compon ent;
import java.awt.GridLa yout;
import java.awt.Keyboa rdFocusManager;
import java.util.Colle ctions;
import javax.swing.JBu tton;
import javax.swing.JFr ame;
import javax.swing.JPa nel;

public class MainFrame{

public MainFrame(){

}

public MainFrame(Strin g name){
show(name);
}

Component component=null;...