I am working on developing a GUI using Swing. The GUI is implemented in such a way that the when the user wants to load a set of text files, then the filechooser dialog should o
You haven't revalidated the containing content Container. At the end of your actionPerformed method, add the lines
content
//content.invalidate(); content.revalidate(); content.repaint();