我有这段代码:
JPanel jpMainExample = new JPanel(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT));
jpMainExample.add(new JLabel("JLabel"));
jpMainExample.add(new JTextField("JTextField"));
jpMainExample.add(new JSeparator(JSeparator.VERTICAL));
jpMainExample.add(new JRadioButton("JRadioButton"));
jpMainExample.add(new JSeparator(SwingConstants.VERTICAL));
jpMainExample.add(new JComboBox<>(new String[] {"JComboBox"}));
jpOUT.add(jpMainExample);
但是,我看不到分隔线。
![enter image description here](https://istack.dev59.com/1ywq0.webp)