Swing layout manager/solution to replace dynamically created and nested split panes?
问题 I'm working on a text editor in which the user is free to divide the editor window vertically or horizontally any number of times (ie, into any number of panes). A single window can be divided both vertically and horizontally (for example, 2 rows, one which contains 3 columns, etc). Each pane contains a JTextArea inside a JScrollPane and a status bar. My approach thus far has been to use nested JSplitPanes. I've struggled to arrange the split pane dividers so that the space in the window is