CBSE Class 12 Informatics Practices GUI Dialogs And Tables

Scroll down for PDF

CBSE Assignment for Class XII Informatics Practices -GUI Dialogs And Tables . 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


Click on the text For more study material for Informatics Practices please click here - Informatics Practices

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

CBSE Circular Aryabhatta Ganit Challenge

For students with a keen interest in mathematics are now provided with a better opportunity to explore their knowledge. CBSE has announced to conduct an exam for the purpose of generating interest in maths among students. It is a trial to clarify the myth that...

CBSE examination board hike the fee for class 10th and 12th

The CBSE (Central Board Secondary Education) increased the examination fees for classes 10 and 12 of the 2020 boards, with no profit no loss principle, from Rs. 750 to Rs 1500, for all categories of students, including SC/ST candidates for all schools throughout India...

Registration of NEET 2020 starts

The NEET 2020 registration process would start on Monday, December 2nd, 2019. National Testing Agency, NTA would carry out the county’s undergraduate entrance exam for medical and dental admissions.  The examination is scheduled to take place in English, Hindi, and...

NCERT NTSE Admit Card 2020 released - know more

Introduction: NTSE 2020 National Talent search examination is conducted by NCERT to take out the students who excel in science. It is organized to measure and let the students with talent outshine in their coming future. This talent search exam is taken in 2 stages....

JEE Entrance Exam 2020 Dates Registration Admit Cards Exam Pattern

JEE Entrance exam is conducted for students who wish to pursue engineering in different subjects or categories like mechanical, CS, etc.. It is officially organized and conducted by NTA. Formerly it was organized by CBSE. It avails seats for students in IITs, NITs, and...

Error in the evaluation of answer sheets in CBSE

The education board has witnessed many events where invigilators are being suspended for allotting wrong marks to the students.  This has affected students mainly of classes X and XII in the 2019 CBSE Board Exams. The central board of secondary education has taken...

Studies Today