阅读背景:

我怎样才能让jtoolbar自动换行到下一行(FlowLayout),而不让它们隐藏在下面的JPanel中呢?

来源:互联网 

I am in the process of making a GUI which shows three JToolBars above a big JPanel. These toolbars are collectively very large, so I'm using a FlowLayout to make them wrap to the next line if they reach the JFrame border. The problem is that when they wrap to the next line, they become hidden by the JPanel below.. I wish I could force the JPanel containing the toolbars to grow enough to show all toolbars..I am in the process of making a GUI which shows




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: