Hi,
I am a newcomer to this forum, also new to Java programming.
Recently, I am working on GUI design. I have a number a JLabel components put into one single JPanel component. In order to have a full display of all the JLabels, I intend to use a JScrollBar for implementation. However, it seems that the JScrollBar doesn't work for me under this situation. So I really get confused!
Is the JScrollBar able to solve this, or are there any other alternatives?
Tanks, in advance!

hi everyone,
use the JScrollPane instead and add the JScrollPane to the frame.

Yours Sincerely

Richard West

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.