How to get cascading JFrames
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   John_Groppe
Posted On:   Friday, June 28, 2002 12:55 PM

I am creating an application in which the user can generate several JFrames. All of the JFrames first appear in the upper left hand corner of the screen. I would like to have they cascade (offset from the one that created it, like when you open multiple browser windows). Anyway, someone told me that Java has a way to tell the OS to choose the initial placement of the JFrame and the OS will handle the cascading for you. I’ve looked through several Swing books, and searched the web but was unable to confirm this. Can the OS do this or will I have to write my own cascading code.

Thanks in advance.

John

About | Sitemap | Contact