You can move a file or a folder to trash/ recycle bin in java using the below code:
`Desktop.getDesktop().moveToTrash()'
Here is a demo:
https://fullstackdeveloper.guru/2021/04/29/how-to-move-a-file-folder-to-trash-recyclebin-in-java/
You can move a file or a folder to trash/ recycle bin in java using the below code:
`Desktop.getDesktop().moveToTrash()'
Here is a demo:
https://fullstackdeveloper.guru/2021/04/29/how-to-move-a-file-folder-to-trash-recyclebin-in-java/
For further actions, you may consider blocking this person and/or reporting abuse
Emily Johnson -
Arshi Saxena -
Sota -
Harshit Singh -
Top comments (0)