-
a continuous layout?
Is it possible to set a continuous layout for a jframe? I thought there was, but I'm not finding anything in the docs. JSplitPane allows it, but that's all I've found.
-
Please explain what a JSpitPane is capable of that qualifies as "continuous layout" ?
eschew obfuscation
-
when resizing a window, the contents resize to match continuously.
-
GridLayout & BorderLayout does that. The gridlayout gives each component the same space, for BorderLayout the resizing "favours" the component in the center and
the four others components are treated according to their preferredSize settings.
GridBagLayout also gives you resizing, with a some nitty gritty constraints coding.
eschew obfuscation
-
I think maybe you're still misunderstanding, here's a picture.
example here
When resizing, the frame will match its size with how you draw the mouse, but the contents of that frame will not adjust until you release the mouse button from resizing it.
-
Ok, that requires one of two things....
1: a listener interface for the frame that is called continously during frame resizing
so that you can invoke a validate/repaint for the frame, providing that the frame will
accept that during resize.
2: a frame setting that will do that for free
I have failed in finding anything like this
eschew obfuscation
-
guess i'll just have to use the listener, thanks for trying though.
-
If you go for option 1 then please let me know if you crack it.
eschew obfuscation
Similar Threads
-
By ksuwanto8ksd in forum VB Classic
Replies: 0
Last Post: 05-18-2005, 02:47 AM
-
Replies: 1
Last Post: 11-18-2002, 01:23 PM
-
Replies: 6
Last Post: 10-16-2001, 08:06 PM
-
Replies: 3
Last Post: 10-05-2001, 12:11 PM
-
By Nils Myklebust in forum Java
Replies: 1
Last Post: 09-05-2000, 04:06 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks