Originally posted by Mike Lipay:
I am writing a desktop application and want to include a background image, but I can't find a container type that will hold an image. How can I do this?
Originally posted by Jennifer Sohl:
Hi there. I have some applications that I want to enable users to do print screens on. I have been able to get the screen to print, however part of the screen gets cut off when printing on 8-1/2 x 11. Is there any way that I can automatically tell it to "Fit to Page" when printing? This is currently what I'm using to print:
Another thing.... I got this code from the web, but I don't think I really understand it. At what point does the paint(Grahpics g,PageFormat pf,int pageIndex) method ever get called? I had put a System.out.println in this method and it never showed up when I ran the program.
Thanks for any help!
[ June 27, 2008: Message edited by: Jennifer Sohl ]
Originally posted by Ernest Friedman-Hill:
The "brace-on-the-same-line" style originated with Kernighan and Ritchie's "The C Programming Language". They have gone on record saying that this was only done to save vertical space in the book, enabling them to keep listings together on a single page.
Originally posted by colin shuker:
I'm shocked that java wont let you plot a point.
Why isn't there a method plotPoint(x,y) or something???