Problems loading large numbers of files
the game that I wrote uses 2 different JFrames: A title/menu Frame, and the game Frame. The title frame uses about 25 different images, most of them relatively small(Just the size needed for a button). On the game board, however, I use about 45 images, some of them larger (400 x 550 pixels). The game compiles and runs just fine. It has a small lag when it has to load the files, but that's expected. The real problem comes when I go to build the project from netbeans, however. The title/menu frame loads and runs fine, but when I click the "new game" button, which ordinarily opens up the game frame and closes the menu, nothing happens. I checked my system memory and saw that the computer had allocated memory for the program every time I clicked the button, but never created the JFrame. I made a small sample program that loads all of the same images but doesn't show them, and that program didn't work either. I cut the number of image imports in half and rebuilt, and it ran the first time. What is going on?