Unusual gaps while using JSeperator - Java
问题 I have been working on a Swing GUI and getting some unusual and unwanted gaps after adding JSeperator , Any idea how to remove them? Or any other option to how to achieve this nicely! Visual Description Gaps are apparent before JLabel "Speed" and after JSlider . Related Code control.setLayout(new BoxLayout(control, BoxLayout.X_AXIS)); ...another code omitted... control.add(orientation); //JLabel control.add(norm); //JRadioButton control.add(back); //JRadioButton control.add(new JSeparator