@@ -0,0 +1,883 @@
+package com.darkbyte.programs.darkinventory.events;%0A%0Aimport java.io.File;%0A%0Aimport javax.swing.JScrollPane;%0Aimport javax.swing.JTextArea;%0A%0Aimport com.darkbyte.programs.darkinventory.display.Window;%0A%0Apublic class ListItemEvent implements Event %7B%0A%0A%09@Override%0A%09public void run() %7B%0A%09%09File itemDirectory = new File(%22items/%22);%0A%09%09File%5B%5D filesInDirectory = null;%0A%09%09%0A%09%09if(!itemDirectory.exists()) %7B%0A%09%09%09itemDirectory.mkdir();%0A%09%09%7D else %7B%0A%09%09%09filesInDirectory = itemDirectory.listFiles();%0A%09%09%7D%0A%09%09%0A%09%09Window dataWindow = new Window(500, 500, %22DarkInventory - Items%22, true, Window.DISPOSE_ON_CLOSE, false);%0A%09%09JTextArea textArea = new JTextArea();%0A%09%09textArea.setEditable(false);%0A%09%09%0A%09%09for(File file : filesInDirectory) %7B%0A%09%09%09String filename = file.getName();%0A%09%09%09textArea.setText(textArea.getText() + filename.replaceAll(%22.darkinventfile%22, %22%5Cn%22));%0A%09%09%7D%0A%09%09%0A%09%09dataWindow.add(new JScrollPane(textArea));%0A%09%7D%0A%7D%0A

Create ListItemEvent.java