Client rectanlge and disabling the console
843804Feb 3 2005 — edited Feb 4 2005Hi everyone. I've got a little problem - I've just started programmin GUIs using Swing and I've got two questions:
1. How do I obtain the real size of the window? In Win32Api there was a function call GetClientRect(handle_to thewindow), is there anythng similar in Java?
2. I programm uder Windows XP, so whenever I write an application I write a small .bat file. But this has a flaw - the console shows up, and I don't want this to happen. Is there any convenient way to avoid this?