import java.awt.*;
import java.awt.event.*;
import java.lang.*;
public class Party {
public static void main(String[] args){
System.out.printf("Start\n");
Frame f = new Frame();
Label l = new Label("Party over here!");
Button b = new Button("You bet") ;
Button C = new Button("Shoot me");
Panel p = new Panel();
p.add(l);
System.out.printf("End\n");
}
}
为什么我没有得到对话框?示例中缺少什么?