Hello , can someone of you tell me why is this happening ?
I made an array of JComboBox , and I made a for loop to be shown on JFrame 10 JComboBoxes. But when I'm comment the code (picture1) , when I'm runnin the code everything is going fine (the JComboBoxes are not showing ) (picture2).
But when I'm uncommenting the code (picture3) , when I'm runnin the code , On the window is now showing anything (picture4) , and it show to me that the code has an error (picture5).
p.s The array of JComboBoxes should be shown next to Profesori label.