开发者

Can't establish absolute dimensions and positioning for JPanel in CardLayout and their associated components in Netbeans 7

开发者 https://www.devze.com 2023-04-13 06:32 出处:网络
I have a few JPanels stacked under a mainPanel via CardLayout under Netbeans 7.Now for some weird reason I can\'t get any of these JPanels to maintain a setPreferredSize of [600,400] and most annoying

I have a few JPanels stacked under a mainPanel via CardLayout under Netbeans 7. Now for some weird reason I can't get any of these JPanels to maintain a setPreferredSize of [600,400] and most annoyingly I can't get the associated components to be placed right on where they're supposed to be positioned on their associated JPanel. Please note that I'm using Netbeans 7 properties menu to set these parameters. I even have set u开发者_C百科p the minimum and maximum size parameters.

0

精彩评论

暂无评论...
验证码 换一张
取 消