Java Reference
In-Depth Information
Exercises
1.
At the moment in Sketcher, you can close a file selection dialog with the approve button
without a file being selected. Modify Sketcher so that the dialog will continue to be displayed
until you select a file or close the dialog with the Cancel button.
2.
Modify the Sketcher program to print the title at the top of the page on which the sketch is printed.
3.
Modify the printing of a sketch so that a solid black boundary line is drawn around the sketch
on the page.
4.
Modify Sketcher to print a single sketch laid out on four pages. The sketch should be enlarged
to provide the best fit on the four pages without distorting circles - that is, the same scale
should be applied to the x and y axes.
5.
Use a Book object to print a cover page plus the sketch spread over four pages as in the
previous exercise.
Search WWH ::




Custom Search