// ( 10, 70 ) の位置に100×50サイズのテキストフィールドを配置 int textFieldD = newTextField( 10, 70, 100, 30, "INPUT FIELD" ) ; mountComponent( textFieldD, windowID ) ; // ( 120, 10 ) の位置に200×200サイズのテキストエリアを配置 int textAreaID = newTextArea( 120, 10, 200, 200, "INPUT AREA" ) ; mountComponent( textAreaID, windowID ) ; // ( 10, 110 ) の位置に100×20サイズのセレクトフィールドを配置 string text[ 3 ] ; text[ 0 ] = "TYPE-A"; text[ 1 ] = "TYPE-B"; text[ 2 ] = "TYPE-C"; int selectFieldID = newSelectField( 10, 110, 100, 20, text ) ; mountComponent( selectFieldID, windowID ) ; // ( 10, 140 ) の位置に100×20サイズのチェックボックスを作成 int checkBoxID = newCheckBox( 10, 140, 100, 20, "TURBO", true ) ; mountComponent( checkBoxID, windowID ) ; // ( 10, 170 ) の位置に100×20サイズのテキストラベルを配置 int textLabelID = newTextLabel( 10, 170, 100, 20, "Hello GUI ! " ) ; mountComponent( textLabelID, windowID ) ;