This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Nested Layout Managers? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Nested Layout Managers?" Watch "Nested Layout Managers?" New topic

Nested Layout Managers?

Chris Baty
Ranch Hand

Joined: Nov 23, 2008
Posts: 30
Hi guys,
I'm working on a keyboard layout for people with special needs so I created my own lay manager:

This Works.

This works okay on macs especially. Here's my layoutmanager:

This has issues but works. Here's my tester:

The challenge is that my layoutmanager seems to screw-up the gridbaglayout so I can't control the exact size and placement of the keyboard. I've tried the gridlayout but it clips the top and bottom keys. Any ideas would be welcome.
Alan Mehio
Ranch Hand

Joined: Apr 04, 2005
Posts: 73
I did not get the time to look at it; however, I am posting this response in order to make it on top.


Alan Mehio
London, UK
I agree. Here's the link:
subject: Nested Layout Managers?
Similar Threads
how do i rotate a point from a center point??
help regarding pie graph
Is there anyway of overriding the default signal for PopupMenus
Outline Issue with Custom Layout Manager
problem in creating more than one objects