How to CENTER Align an Internal Frame in JDesktopPane ?

From: Vk (trulytrojan_at_netscape.net)
Date: 03/28/05


Date: Mon, 28 Mar 2005 10:20:02 -0800

Hi folks,
I am writing an application with MDI.
I have a JDesktopPane and it contains one or more Internal Frames.

I want to add the internal frames right in the middle, CENTER_ALGINED.
I know that there is an api setlocation(x,y) to set the location.

But I was wondering if there is another way to do this without
calculationg the center of JDesktopPan etc and then setting the frame in
to the cetner?

Regards,

VK


Quantcast