I have to create the desktop application for larger screen size. But now I want to put the same application in smaller screen system.
How to set the scrollbar in JFrame
?
Add the GUI to a JScrollPane
before adding the scroll pane to the content-pane. See How to Use Scroll Panes for more details & working examples.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.