CytoPanel Height Change

I have a JPanel whose contents are too large to display in the south of CytoPanel. Is there a way to set my preferred CytoPanel size? I use the CytoPanelImp class, in which my JPanel can be placed. The call southPanel.setSize(new Dimension (0, 1000));or southPanel.setPreferredSize(new Dimension (0, 1000));does not affect its size.

+3
source share
1 answer

Try using southPanel.setMinimumSize (new dimension (0,1000)).

If you post your layout code, it might be easier if this works.

0
source

Source: https://habr.com/ru/post/1795876/


All Articles