1
我有顶栏,列表和底栏。如何设置仅滚动BorderLayout.CENTER?
this.setLayout(new BorderLayout());
this.addComponent(BorderLayout.NORTH, bottomBar);
this.addComponent(BorderLayout.CENTER, list);
this.addComponent(BorderLayout.SOUTH, bottomBar);
List
很长。 bottomBar和bottomBar是隐藏的。滚动在全屏幕上。 如何使滚动仅用于BorderLayout.CENTER
。 bottomBar和bottomBar将可见。
如果这个答案帮助你解决你的问题,那么请标记为接受,以帮助未来的读者。 – Vimal