Would anyone happen to know also if there is some predefined swing box for prompting the user to decided whether or not to overwrite an exhisting file? you know the basic "This file already exists, would you like to overwrite it?"

Recommended Answers

All 2 Replies

Have you tried the JFileChooser in output/save mode? It might do that.
Or the JOptionPane class could be used.

Yeah i as able to use JOptionPane.


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.