Print using SWT Browser Widget
问题 I want to print the contents of a SWT Browser Widget. but it prints the only the visible part of the browser not the full content of it. Please help. 回答1: I've modified the SWT Browser snippet to selected code, and it work for me like a charm.. import org.eclipse.swt.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; import org.eclipse.swt.browser.*; public class BrowserPrintTest { public static void main(String [] args) { Display display = new Display(); final Shell shell