File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Arranging windows horizontally/vertically Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Arranging windows horizontally/vertically" Watch "Arranging windows horizontally/vertically" New topic

Arranging windows horizontally/vertically

Michael Cleary
Ranch Hand

Joined: Jul 29, 2003
Posts: 93
I have a small app in which users can open a number of files in JInternalFrames (w/in the main JFrame). I know how to "cascade" the open windows, but I would also like the user to be able to arrange them horizontally and vertically (i.e. for comparing 2 files side by side). I have been searching the web for an example, but so far have come up empty. Can anyone point me to just such an example?


Mike<br />SCJP 1.4<br />----------------------------<br /><br />----------------------------<br />There are 10 types of people<br />in the world. Those that <br />understand binary, and those<br />that don't.
I agree. Here's the link:
subject: Arranging windows horizontally/vertically
It's not a secret anymore!