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.
我有一个JTabbedPane,我在其中插入一个扩展名JPanel,我在其中插入一个JSplit。
JTabbedPane
JPanel
JSplit
我的问题是面板自动设置为可能的最小尺寸,即足以绘制内部组件的尺寸,如图所示。
相反,我希望它尽可能大。
你能帮我解决这个问题吗?
确保组成选项卡的组件使用 a BorderLayout,默认情况下JPanel使用 aFlowLayout
BorderLayout
FlowLayout
设置JPanel布局null并添加其他所需大小的组件。希望它会奏效!
null
I have a array of two dimensions object[,] data;. I want to convert the first column of my object into a list<string> or a list<object>. here you hav
object[,] data;
list<string>
list<object>