Java Swing: JFrame Window Maximisation

From: Whats up dog! (someone_at_microsoft.com)
Date: 07/10/04


Date: Sat, 10 Jul 2004 11:30:42 GMT

Hi

I have a JFrame that I would like to maximize automatically on execution
(without clicking on the maximise button). The problem is that when it
maximises to screen size, and goes over the windows taskbar. Is there a way
of doing this without hard coding it? Sample code would be nice.

Thanks

AaA

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 5/07/2004