正在加载图片...
Placing a button on a Frame 感 Program MyFirstFrame 回 150 < 100 30 60 setLayout( null )i okButton new Button(oK")i okButton setBounds( 100, 150, 60, 30)i add( okButton i C 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 13-6© 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 13 - 6 Placing a Button on a Frame setLayout( null ); okButton = new Button( “OK” ); okButton.setBounds( 100, 150, 60, 30); add( oKButton ); 100 150 60 30
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有