开发者

How to add a GridLayout using NetBeans GUI Builder for Java Swing?

We need to place 9 images in a 3 x 3 GridLayout for Java Swing. We tried placing buttons开发者_如何转开发 into the grid, which worked fine. The images are on individual Labels. These Labels need to be in the grid, which is not working.

Thanks in advance.


I had no problems putting 9 labels with images on a panel using the grid layout just now. I'm using NB 6.8.

How is it not working?


Okay. We got out GridLayout to work finally. Thanks for all your help. FYI, We are now running Netbeans in Windows 7 (on Windows Vista Compatibility mode).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜