Uses of Class java.awt.HeadlessException

Uses in package javax.print

Methods which throw type java.awt.HeadlessException

PrintService
ServiceUI.printDialog(GraphicsConfiguration gc, int x, int y, PrintService[] services, PrintService defaultService, DocFlavor flavor, PrintRequestAttributeSet attributes)
Creates a modal graphical printing dialog at the specified location on the screen.

Uses in package javax.swing

Methods which throw type java.awt.HeadlessException

JDialog
Creates a modal dialog in which to display the file chooser.
int
JFileChooser.showDialog(Component parent, String approveButtonText)
Displays the file chooser in a modal dialog using the CUSTOM_DIALOG type.
int
Displays the file chooser in a modal dialog using the OPEN_DIALOG type.
int
Displays the file chooser in a modal dialog using the SAVE_DIALOG type.

Uses in package java.awt

Methods which throw type java.awt.HeadlessException

DesktopPeer
Desktop
Returns an istance of the Desktop Class.
int
Returns the number of mouse buttons, or -1 if no mouse is connected.
PointerInfo
Returns a PointerInfo object containing information about the current location of the mouse pointer

Uses in package java.awt.print

Methods which throw type java.awt.HeadlessException

PageFormat
Displays a dialog box to the user which allows the page format attributes to be modified.
PageFormat
boolean
Displays a dialog box to the user which allows the print job attributes to be modified.
boolean
Displays a dialog box to the user which allows the print job attributes to be modified.