Re: Deck Editor GUI
In VB I've run into these sorts of layout problems. There are a number of fancy commercial layout controls that automatically stretch your GUI objects. But I've never really needed them. I just respond to the form/window resize event, and adjust the size and position of all the objects manually.
I don't know if there is an equivalent event in Java, but if there is, you can use that.
The card text and picture frames are always a set width, it's the grids that need to expand. So just dynamically calculate the left position of the card text and picture, then set the grid width to match.
Top-bottom wise, the top grid expands proportionately, the add/remove buttons drop to match, and the lower grid moves down and expands to meet to bottom of the window.
I don't know if there is an equivalent event in Java, but if there is, you can use that.
The card text and picture frames are always a set width, it's the grids that need to expand. So just dynamically calculate the left position of the card text and picture, then set the grid width to match.
Top-bottom wise, the top grid expands proportionately, the add/remove buttons drop to match, and the lower grid moves down and expands to meet to bottom of the window.