*Problem* If I make the GridBagLayout pane larger, everything works fine. But if I shrink it by setting the JSplitPane divider to halfway, the text field completely disappears, even though there is obviously more space to the right of it. I've set the JTextField's gridwidth to be the maximum possible, but it still disappears. Any suggestions???
posted 7 years ago
I found a fix. By reducing the gridwidth, and changing the anchor to EAST, it now behaves properly. It was WEST previously.