Abstract
In Chapter 16, you saw how to create a completely customized dialog box using the JDialog class. You also saw how to take advantage of the JOptionPane methods to quickly and easily display some simple, generalized dialog boxes. Now you are going to look at some dialog boxes that can be used to make your life as a developer significantly easier. You’ll be able to use dialog boxes that have been designed, implemented, and tested for you. The chapter begins by looking at the JFileChooser class, which the Swing developers were kind enough to provide for creating dialog boxes. These are great examples of the kind of user input that can be performed by dialog boxes. Keep these in mind when you encounter a situation where you want to provide your own dialog boxes.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
- 3.
- 4.
Note: The FileSystemView roots attribute is read-only, so this class works around that limitation by using a variable named Roots instead.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2015 Robert A. Gibson
About this chapter
Cite this chapter
Gibson, R.A. (2015). Specialized Dialog Boxes. In: Swing for Jython. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0817-5_17
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0817-5_17
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0818-2
Online ISBN: 978-1-4842-0817-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)