Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

GridBagLayout issues  RSS feed

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am stuck with GridBagLayout, in the code below, it has two issues
1. the width of panel1 and panel2 are not equal
2. Inside the panel1, the label and JComboBox are not appeared in the top.

How to fix it ?

Thanks.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!