I'm very new to Swing and I need to build a JFrame
that:
JList
(or something like that: scrollable text rows).How can I create a JFrame
like this? I tried using only BorderLayout
s and GridLayout
s but I don't know how to divide the GridLayouts
in other GridLayouts
(Don't even know if it's possible).
Create one panel and add it to frame, set layout(GridLayout(6,1))
. Then you can create classes or methods and extend it to JPanel and create each panel. And after try to add all this panels to you main panel in The frame.
I don't know if I understood correctly what you want, this is solution I found.