I have setLayout (new GridLayout (5,5,3,3));
5 rows and 5 columns. In the first line I want one big line. You know, as in excel, where you will merge cells. So I just want to combine 5 columns in the first row only. I put JLabel on the first line, and it is very annoying that I need to have several JLabels for each grid cell and make sure the spacing works well.
Is there any way to do this on GridLayout? Or am I stuck in 5 rows and 5 columns strictly?
source
share