0

The border layout added by the code seems to be fixed. How can I drag the border?

For example, the effect in the picture:

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
  • 2
    Use a [`JSplitPane`](https://docs.oracle.com/en/java/javase/16/docs/api/java.desktop/javax/swing/JSplitPane.html) for a draggable divider between two containers. I use one in [this answer](https://stackoverflow.com/a/5630271/418556) to divide the space assigned to the table and the pic with an orange / yellow gradient. – Andrew Thompson May 18 '22 at 02:58
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community May 18 '22 at 11:11

0 Answers0