Resolve problem with Java printing

I am trying to do learn about printing from a Java program. I have put in the sample demo code from a book on Java. The code compiles fine. Code is attached.

When I execute it & press the PrintAbove button, I get the following error - see image.

Probably something is missing in my environment, but I cannot figure out what. Would appreciate any help.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

## Platform


Habilidades: Engenharia, Java, MySQL, PHP, Arquitetura de software, Teste de Software

Veja mais: problem with error, out source printing, learn java code, help with java code, problem in java, printing, printing press, learn java, java problem, environment printing, java code sample, java program help, java sample code, java learn, complete java program, php problem image, problem code java, something java, image printing, program sample java program, java sample, java error, execute php code button press, java php error, missing image php

Acerca do Empregador:
( 302 comentários ) Carmel Valley, United States

ID do Projeto: #2994449

2 freelancers are bidding on average $3 for this job


See private message.

$3.4 USD em 1 dia
(48 Comentários)

See private message.

$3.4 USD em 1 dia
(1 Comentário)