正在加载图片...
Continue set Background( color c) Color. red Color blue new Color(int, int, int ): #XO-255 如: new Color(25255,0) ad( Component c);添加各部件 · String getTitleo;/得到 JFrame的标题 setbounds(int x, int y, int width, int height);∥设置 frame对象的大小和位置 2021/2/242021/2/24 9 Continue • setBackground(Color c) – Color.red – Color.blue – new Color(int,int,int): 取0-255 • 如:new Color(255,255,0); • add(Component c);添加各部件 • String getTitle();//得到JFrame的标题 • setBounds(int x,int y, int width,int height);//设置 Frame对象的大小和位置
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有