Guest User

Untitled

a guest
Aug 14th, 2014
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. try
  2. {
  3. ImageIO.write(imageReaded, saveType, outPath);
  4. isCorrectExtension = true;
  5. }
  6. catch (IOException e)
  7. {
  8. JOptionPane.showMessageDialog(this,
  9. "Write error for " + outPath.getName() + ": " + e.getMessage(), "Unable to save file",OptionPane.ERROR_MESSAGE);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment