How to create a responsive GUI in Java Swing?
Posted on 2004-09-15
I am new to JAVA Development and I am developing an application that reads a content of a folder and the XML files and parse the files and transform them into html.
Every thing seems to work fine. I use JFileChooser. and get the directory as input. I also have kept a label in to show the status. For getting th efiles in the directory I use a method. For parsin gI use another method and for transforming I use another method. All the methods are in different classes. When I click the accept button. the status bar need to change to "Processing the input" then when it is parsing the XML files it needs to show "Parsing..." and when transforming it needs to show "Transforming"... I have used the JLabels setText() options but it is not happening. the JLabel is not updating its value.
Any Idea on this...
Thanks and regards,