17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package sun.awt.windows;
27
28 import java.awt.Container;
29 import java.awt.Dialog;
30 import java.awt.Frame;
31 import java.awt.Toolkit;
32 import java.awt.peer.ComponentPeer;
33 import java.awt.print.PrinterJob;
34 import java.awt.print.PageFormat;
35 import java.awt.print.Printable;
36
37 final class WPageDialog extends WPrintDialog {
38 static {
39 initIDs();
40 }
41
42 PageFormat page;
43 Printable painter;
44
45 WPageDialog(Frame parent, PrinterJob control, PageFormat page, Printable painter) {
46 super(parent, control);
47 this.page = page;
48 this.painter = painter;
49 }
50
51
52 WPageDialog(Dialog parent, PrinterJob control, PageFormat page, Printable painter) {
53 super(parent, control);
54 this.page = page;
55 this.painter = painter;
56 }
|
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package sun.awt.windows;
27
28 import java.awt.Container;
29 import java.awt.Dialog;
30 import java.awt.Frame;
31 import java.awt.Toolkit;
32 import java.awt.peer.ComponentPeer;
33 import java.awt.print.PrinterJob;
34 import java.awt.print.PageFormat;
35 import java.awt.print.Printable;
36
37 @SuppressWarnings("serial") // JDK-implementation class
38 final class WPageDialog extends WPrintDialog {
39 static {
40 initIDs();
41 }
42
43 PageFormat page;
44 Printable painter;
45
46 WPageDialog(Frame parent, PrinterJob control, PageFormat page, Printable painter) {
47 super(parent, control);
48 this.page = page;
49 this.painter = painter;
50 }
51
52
53 WPageDialog(Dialog parent, PrinterJob control, PageFormat page, Printable painter) {
54 super(parent, control);
55 this.page = page;
56 this.painter = painter;
57 }
|