Ajp - Questions Pract 06

  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Ajp - Questions Pract 06 as PDF for free.

More details

  • Words: 602
  • Pages: 1
Question Bank: Practical no. 6 Title: Extending AWT Components 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20.

AJP (TYIF)

Display a text field on the applet. After making any selection from the checkbox displayed near to it, text will get displayed on status bar. Create a scroll bar on applet. When we change its position the current thumb position of it will get displayed on the status bar. Display a button on the applet. When you press button the total number of clicks will get displayed on the status bar. Display four checkboxes on the applet. Create their group. When we click any of these check boxes, their label must get appeared on the status bar. Enter the text in the text field and then press a button near to it. Then the text will get displayed in the text area. You need to enter the text in the text field; the same will be displayed on the status bar after pressing button near to it and ‘=’ will be printed in the text box for each character. Display the choice control on the applet. It will contain five different names. When you select any of these names, it will be displayed on the status bar. Display a list control on the applet. After we make the selection by double clicking the item name must be displayed in front of the string “Your Selection is: ” on the applet. Display the list control on the applet. It will contain five different names. When you select any of these names, it will be displayed on the status bar Display a choice control on the applet. After we make the selection by clicking the item name, its index must be displayed in front of the string “Your Selection is: ” on the applet. Create an event driven scroll bar to display its current position in the text box displayed near to it. Display a text field on the applet. Accept a number from it. Assign this position to the scrollbar displayed near to it. After adjustment has made. Enter the text in the text area. When you press the button near to it, the total number of digits that text contains, will get appeared in the status bar. Display a choice control on the applet. It contains different names of colors. When we make the selection of it, the applet will display your selection as, “Your Selection color is: ”. Create the radio buttons with different names. Display your current selection on the status bar. Display a list on the applet containing six different items. When we make any selection from it, the selected name will be displayed on the applet with Courier New, 20, ITALIC. Display a text field on the applet. We will enter the name in it. After pressing the button displayed, the text from the text field will appear as the label for the checkbox displayed near to it. Display two text fields on the applet. Three checkboxes are also displayed with names ‘Add’, ‘Sub’ and ‘Mul’. When we make the selection from them. The related operation will be performed and display result on the status bar. Create two different choice controls on the applet. They will contain different numbers; we need to make the selection from both. After second choice control’s selection, their addition will be appeared on the status bar. Make the changes on the label of the checkbox as the position of the scroll bar is changed on the applet.

Practical No. 6 (AJP)

-1-

Related Documents