我一直在开发SwingGUI,在添加JSeperator后出现了一些不寻常和不需要的间隙,知道如何删除它们吗?或者如何很好地实现这一目标的任何其他选择!视觉描述JLabel“Speed”之前和JSlider之后的差距很明显。相关代码control.setLayout(newBoxLayout(control,BoxLayout.X_AXIS));...anothercodeomitted...control.add(orientation);//JLabelcontrol.add(norm);//JRadioButtoncontrol.add(back);//JRadioButtonc