+ 6

How to make JFrame Scrollable in Java?

Please anyone help me, how to make JFrame scrollable. I'm making a chatbot using swing but I can't make it srcollable. Please help me . Thanks in advance.

18th Apr 2019, 12:53 PM
Arafat Hossain Ar
Arafat Hossain Ar - avatar
1 Odpowiedź
+ 1
You cant see the scrollbar or what? If you wanna add it to your jframe so use this: JScrollBar sb = new JScrollBar(); frame.add(sb);
18th Apr 2019, 1:54 PM
JavaBobbo
JavaBobbo - avatar