Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
JList我在JFrame 处插入了a BorderLayout.CENTER,但无法让行填充JFrame. 现在,行左对齐并且太小而无法填充整个宽度。JPanel在另一个LayoutManager帮助下将列表放在 a中吗?
JList
JFram
BorderLayout.CENTER
JFrame
JPanel
LayoutManager