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).
精彩评论