I'm not sure what I good balance of providing a simple example versus providing more code to show my exact problem.
public void setResizeWeight(double value)
Specifies how to distribute extra space when the size of the split pane changes. A value of 0, the default, indicates the right/bottom component gets all the extra space (the left/top component acts fixed), where as a value of 1 specifies the left/top component gets all the extra space (the right/bottom component acts fixed). Specifically, the left/top component gets (weight * diff) extra space and the right/bottom component gets (1 - weight) * diff extra space.
I am trying to simplify the code and still illustrate the problem.
Rob, you didn't respond when I posted a compilable example.
Follow his link and that is where you will find the suggestion for overriding the paint component.
Jon Swanson wrote:Here is an example of the behavior I get resizing one of my components.