Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.sao.ru/cats/~CLUSTERS/CLUSTERS/java/R_spectrum/help/print_help.html
Дата изменения: Tue Jun 12 16:37:30 2001 Дата индексирования: Sat Sep 11 22:07:54 2010 Кодировка: Поисковые слова: sojourner |
The printing of the graphics is the new possibility of the JAVA spectra interface (only for 1.2 version).The PrintView window displays the graphic to print.
The changes in the MainPanel's graphic can be passed to the PrintView window by the Update button.The button Page parameters allows to set the size and orientation of the paper, the size of the graphic and its position on the paper.
NOTE: You should provide the permissions for the printing from Java applet. Write the next string in your system's java.policy file :
grant{
............................................................... }
permission java.lang.RuntimePermission "queuePrintJob", "write";