d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Java Gui Jpanel
Add Reply New Topic New Poll
Member
Posts: 17,594
Joined: Mar 13 2009
Gold: 0.00
Oct 26 2015 07:14am
I'm struggling with grasping the concept of JPanels for the GUI. I saw it for the first time and there was a lot of code to take in all at once.

When I look up examples online all I see is large chunks of code which is quite overwhelming.

Are there any good tutorials on how to use JPanel with a step by step guide?

P.S What I need to do is create 3 GUIs which have text fields.
Member
Posts: 20,928
Joined: Mar 18 2009
Gold: 435,910.13
Oct 31 2015 07:54am
Each gui is a JFrame(), you create 1 or more JPanel() object and add to that JFrame(). You then add your JTextField()or other widgets to those JPanel() which can also have different style layouts (search layout manager on google). Let me know if you have any questions but that's the gist of it.

This post was edited by bakalolo on Oct 31 2015 08:03am
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll