S
S
Sergey Popov2015-12-13 15:22:12
Java
Sergey Popov, 2015-12-13 15:22:12

How to create such a layout in java (photo inside)?

5b33475e82264a71a7624ce5755b9e5c.png
This is located on a
JPanel
I understand that TitledBorder is used
But I can't write the same. It turns out crooked and not as it should be. I will be very grateful if you write.
I use the following declarations;

JLabel b11 = new JLabel("b11");
  JLabel b12 = new JLabel("b12");
  JLabel b13 = new JLabel("b13");
  JLabel b21 = new JLabel("b21");
  JLabel b22 = new JLabel("b22");
  JLabel b23 = new JLabel("b23");
  
  JTextField b11_i = new JTextField();
  JTextField b12_i = new JTextField();
  JTextField b13_i = new JTextField();
  JTextField b21_i = new JTextField();
  JTextField b22_i = new JTextField();
  JTextField b23_i = new JTextField();

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question