can someone please help me with creating a GUI that looks like the image that I have attached here. Please help.
Attachment 3626
Printable View
can someone please help me with creating a GUI that looks like the image that I have attached here. Please help.
Attachment 3626
Have you looked at the tutorials about layouts? Here's a link:
A Visual Guide to Layout Managers (The Java™ Tutorials > Creating a GUI With JFC/Swing > Laying Out Components Within a Container)
What have you tried? Where specifically are you stuck? What specific questions do you have?
yes I did what I am having problem with is the vertical bar and text. How can I create vertical bars and texts?
Use a layout that allows you to stack JLabels vertically. Nest those containers in a layout that places them side by side, horizontally.
db
Moved from New to Java
db
I tried with textfield but disabling the edit option but I couldnt show the text vertically. Havent tried JLabel. But I am assuming I will have the same problem with showing the text vertically.
Use the new line char: \n to put each character on the next line.
No I got it and thanks for the help