I added some components to JPanel and then add JPanel to the JFrame.
how to make a window scrollable?
so I can add more components to this frame or window.
Before adding a JPanel , first insert a JScrollPane :
JPanel
JScrollPane
JPanel panel = ...; JScrollPane scroll = new JScrollPane(panel); frame.add(scroll, ...);
Just put your JPanel in a JScrollPane and add it to a JFrame to do the trick ....
Source: https://habr.com/ru/post/1501852/More articles:How to remove shadow shadow effect from an element when another element hangs? - jquerySend Email PHP script cannot receive - phpusing getUrl in a Magento script shell - shellWhy is this mail php script not working? - phpUnable to draw rotated image - iosdelay not reinitialized correctly in jquery animation queue - javascriptGet the number of rows in each row of hstore data in postgresql - sqlHow to check fingerprint of self signed SSL certificate on Android? - androidDouble print with a given accuracy, rounded in a given direction - c ++C ++ const pointer with operator [] - c ++All Articles