It's not a secret anymore!*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Outline Issue with Custom Layout Manager
help regarding pie graph
problem in creating more than one objects
Is there anyway of overriding the default signal for PopupMenus
how do i rotate a point from a center point??