file - What's Wrong with this Java Code? -
This does not give me any errors, but when I recieve it (I used to declare all the variables / arrays):
line 48:
for (int i = 0; i Exception thread "Main" modmaker.GuiBlocks2.main (guiBlocks2.java:48) on java.lang.NullPointerException
package modmaker; Import java.awt.EventQueue; Public category GuiBlocks2 extends JFrame {/ ** * * / Private static last long serial VERSIONUID = 1 L; Public JFileChooser filePath; FileEditor File Joiner = New FileEditor (); / ** * Launch Application * / Static String Files; Fixed string filelist = ""; Stable string path = "modemaker"; Fixed file folder = new file (path); Fixed file [] listOfFiles = folder.listFiles (); String [] allFile = fileList.split (":"); Public Static Zero Main (String [] Elggs) {EventQueue.invokeLater (New Runnabal) (Public went from zero) {try {GuiBlocks2 frame = New GuiBlocks2 (); Frame.Set still (true);} hold (exception e) {E.printStackTrace ();}}}); // for the directory path here (int i = 0; i "
Listings are not easy to file or files were not immediately or because we did not Know what the line 48 is is updated. Your new code can not be found with Modaker, that's why it's empty. You probably want / Moderakar
Comments
Post a Comment