62,615
社区成员
发帖
与我相关
我的任务
分享
import java.awt.*;
public class TestFrame
{
public static void main(String[] args)
{
Window w = new Frame("hello frame");
w.setSize(170,100);
w.setBackground(Color.red);
w.setResizable(false);//error
w.setVisible(true);
}
}