Read and download free pdf of CBSE Class 12 Informatics Practices GUI Dialogs And Tables Assignment. Get printable school Assignments for Class 12 Informatics Practices. Class 12 students should practise questions and answers given here for Gui Dialogs And Tables Informatics Practices in Class 12 which will help them to strengthen their understanding of all important topics. Students should also download free pdf of Printable Worksheets for Class 12 Informatics Practices prepared as per the latest books and syllabus issued by NCERT, CBSE, KVS and do problems daily to score better marks in tests and examinations
Assignment for Class 12 Informatics Practices Gui Dialogs And Tables
Class 12 Informatics Practices students should refer to the following printable assignment in Pdf for Gui Dialogs And Tables in Class 12. This test paper with questions and answers for Class 12 Informatics Practices will be very useful for exams and help you to score good marks
Gui Dialogs And Tables Class 12 Informatics Practices Assignment
Brief Summary of the Chapter:
This chapter tells us about how we can create dialogs in Java Swing through NetBeans IDE.
KEY POINTS:
• A Dialog: It is a small separate window that appears to either provide or request to/from the user.
• Java Swing provides four dialog types: a) JDialog(General purpose dialogs) b) JOptionPane (Pre-defined styles) c) JFileChooser (dialog for choosing files) and d) JColorChooser(dialog for choosing colour)
• JOptionPane dialog Type:
There are four built-in dialog styles:
1) Message dialog → JOption.ShowMessageDialog() displays the message dialog
2) Input dialog → JOption.ShowInputDialog() displays the input dialog
3) Confirm dialog → JOption.ShowConfirmDialog() displays the confirm dialog
4) Option dialog → JOption.ShowOptionDialog() displays the option dialog
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.
A dialog created with JOptionPane can be one of the four pre-defined styles. Also, it only offers a close button for window closing.
Unsolved Questions:
1. What are the various type of dialog options supported by JOptionPane?
2. Name four methods associated with JOption dialog.
3. Explain the various possible value for Option type property of JOptionPane dialog.
CBSE Class 12 Informatics Practices Data Handling using Pandas Assignment |
CBSE Class 12 Informatics Practices Societal Impacts Assignment |
CBSE Class 12 Informatics Practices Gui Dialogs And Tables Assignment
We hope you liked the above assignment for Gui Dialogs And Tables which has been designed as per the latest syllabus for Class 12 Informatics Practices released by CBSE. Students of Class 12 should download and practice the above Assignments for Class 12 Informatics Practices regularly. We have provided all types of questions like MCQs, short answer questions, objective questions and long answer questions in the Class 12 Informatics Practices practice sheet in Pdf. All questions have been designed for Informatics Practices by looking into the pattern of problems asked in previous year examinations. You can download all Revision notes for Class 12 Informatics Practices also absolutely free of cost. Lot of MCQ questions for Class 12 Informatics Practices have also been given in the worksheets and assignments for regular use. All study material for Class 12 Informatics Practices students have been given on studiestoday. We have also provided lot of Worksheets for Class 12 Informatics Practices which you can use to further make your self stronger in Informatics Practices.
You can download free Pdf assignments for CBSE Class 12 Informatics Practices Gui Dialogs And Tables from StudiesToday.com
All topics given in Gui Dialogs And Tables Informatics Practices Class 12 Book for the current academic year have been covered in the given assignment
No, all Printable Assignments for Gui Dialogs And Tables Class 12 Informatics Practices have been given for free and can be downloaded in Pdf format
Latest syllabus issued for current academic year by CBSE has been used to design assignments for Gui Dialogs And Tables Class 12
Yes, we have provided detailed answers for all questions given in assignments for Gui Dialogs And Tables Class 12 Informatics Practices