I would like to know if i have to fill empty cells that i may have in my panel using a GridBagLayout. Is there any con开发者_高级运维sequence in filling empty cells with JPanel or not ? Thank you.
Don't worry about empty cells. Leave them empty. There is absolutely no need to fill everything with unneeded components.
精彩评论