正在加载图片...
Response Box-other Usage Response Box can have up to three buttons with user- designated labels Respons eBox threeBut tonBox threeButtonBox new ResponseBox(mainWindow,3)i threeButtonBox setLabel( ResponseBox. BUTTON1,OK threeButtonBox setLabel( ResponseBox BUT TON2,"Cancel")i threeButtonBox setLabel( ResponseBox BUTTON3,He lp" C 2000 McGraw-Hill troduction to Object-Oriented Programming with Java--Wu Chapter 7-21© 2000 McGraw-Hill Introduction to Object-Oriented Programming with Java--Wu Chapter 7 - 21 ResponseBox – Other Usage ResponseBox can have up to three buttons with user￾designated labels. ResponseBox threeButtonBox; threeButtonBox = new ResponseBox(mainWindow,3); threeButtonBox.setLabel( ResponseBox.BUTTON1, "OK" ); threeButtonBox.setLabel( ResponseBox.BUTTON2, "Cancel" ); threeButtonBox.setLabel( ResponseBox.BUTTON3, "Help" );
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有