CBSE Class 12 Informatics Practices GUI Dialogs And Tables Assignment

CBSE Class 12 Informatics Practices GUI Dialogs And Tables Assignment.Based on CBSE and CCE guidelines. The students should read these basic concepts to gain perfection which will help him to get more marks in CBSE examination.

 

Solved Questions:

1. What is dialog in Java?

Ans: A dialog is a small separate window that appears to either provide or request to / from the user.

2. Write the import statement required for using JOptionPane class.

Ans:import javax.swing.JOptionPane;

3. What is showConfirmDialog ( ) method of JOptionPane class do ?

Ans: This method displays a dialog with several buttons and returns as int option type corresponding to the button pressed ( mostly one from Yes, No or Cancel)

4. What is showInputDialog ( ) method of JOptionPane class do ?

Ans: This method displays a dialog which is intended to receive user input, and returns a String if the input component is a text field. It displays two buttons : OK and Cancel.

5. What is the difference between a dialog created with JDialog and a dialog created with JOptionPane?

Ans: The dialog created with JDialog can be customised in any form the user wants. Also with JDialog, a window’s default cloasing behaviour is available with minimize,  maximaize and close buttons.


Please refer to attached file for CBSE Class 12 Informatics Practices GUI Dialogs And Tables Assignment


Tags: 

 


Click to View or Download pdf file
Click for more Informatics Practices Study Material

Latest NCERT & CBSE News

Read the latest news and announcements from NCERT and CBSE below. Important updates relating to your studies which will help you to keep yourself updated with latest happenings in school level education. Keep yourself updated with all latest news and also read articles from teachers which will help you to improve your studies, increase motivation level and promote faster learning

Conduct of the practical work during the lockdown

CBSE has advised schools to follow the Alternative Calendar developed by NCERT to continue education during the lockdown through alternative modes to achieve learning outcomes. Schools have reportedly started using these calendars and other prescribed pedagogical...

Keep your kids engaged during Lockdown

Kids are the Future of our Country! Outlines have changed and so should the formats of existence! It is the best time to teach our kids the pleasure of Self-Discipline, Self-Realization and Self-Control. To keep the future generation safe in such unpredictable...

Revised SOP preventive measures followed while conducting examinations

Revised SOP on preventive measures to be followed while conducting examinations to contain spread of COVID-19 issued by Ministry of Health & Family Welfare Examination centres are frequented by large number of students (as well as their parents) and staff till the...

×
Studies Today