Swing: multiline toolbar or using Flowlayout as toolbar

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Swing: multiline toolbar or using Flowlayout as toolbar



I have toolbar with random number of buttons from two up to twenty. Width of each button can vary.



I have to put them all at top area and use JToolBar. On a small screen resolutions (e.g. 800x600) some buttons could be out of screen (AFAIK JToolbar can't grows in a height).



Any ideas how to adjust JToolbar to grows in a height or resolve the task in any other way (e.g. using Flowlayout)?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

Visual Studio Code: How to configure includePath for better IntelliSense results