Hey, does anyone know what inteface is needed to listen for a file being loaded into a jtextcomponent.

Thanks.

Recommended Answers

All 2 Replies

What kind of events are you trying to listen for? Just for when the file has finished loading? If so, you manually load the file into the text component yourself, so there's no need for a listener interface there.

I reapplied a documentlistener to the text compent after a file was loaded. I needed to apply a change to another component when a file was loaded.

Problem solved.

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.