< prev index next >
src/java.desktop/share/classes/javax/print/ServiceUI.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -64,10 +64,15 @@
* packages.
*/
public class ServiceUI {
/**
+ * Constructs a {@code ServiceUI}.
+ */
+ public ServiceUI() {}
+
+ /**
* Presents a dialog to the user for selecting a print service (printer). It
* is displayed at the location specified by the application and is modal.
* If the specification is invalid or would make the dialog not visible it
* will be displayed at a location determined by the implementation. The
* dialog blocks its calling thread and is application modal.
< prev index next >