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

Ver mais: problem error, source printing, learn java code, help java code, problem 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, java sample, java error, java php error, missing image php, php resolve, php missing image

Acerca do Empregador:
( 300 comentários ) United States

ID do Projeto: #2994449

2 freelancers estão ofertando em média $3 para este trabalho


See private message.

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

See private message.

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