hey everyone,

i have few text files that contain some data. what i need is to be able to display those file names in JTextArea and if the number of text files increase/decrease i would want the file names automatically change in the JTextField(after next compilation).

i would be very greatfull for any suggestions .
thank you very much.

Try studying GUI's using java. With regards to the text files, try searching for 'Read/write text file java'.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.