hi
there is a button to show you a JList of contents of folder. it is working and show you the contents but after you read a file and press this button again to return to the list , the system freezes and and closes after seconds printing the following message:
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at java.awt.EventQueue.postEvent(EventQueue.java:250)
at java.awt.EventQueue.postEventPrivate(EventQueue.java:202)
at java.awt.EventQueue.postEvent(EventQueue.java:175)
at sun.awt.PostEventQueue.flush(SunToolkit.java:1931)
at sun.awt.SunToolkit.flushPendingEvents(SunToolkit.java:624)
at java.awt.EventQueue.getNextEvent(EventQueue.java:465)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:245)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space