• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Java, interaction with windows explorer

Joined
May 13, 2006
Messages
654 (0.10/day)
Location
Newcastle upon Tyne
Processor AMD Ryzen 5900X
Motherboard MSI MAG B550M Mortar WiFi
Cooling Corsair H100i RGB Platinum SE 240mm
Memory 32GB Corsair Dominator Platinum RGB 3600MHz
Video Card(s) Sapphire Vega 64 8GB
Storage Sabrent Rocket 4.0 1TB / ADATA SX8200 Pro 1TB / Crucial MX500 1TB
Display(s) Dell U2715
Case Corsair 280X
Power Supply Corsair RM850x
Mouse Razer DeathAdder Chroma
Keyboard Ducky One2 Horizon
Software Windows 10 Professional
Benchmark Scores Cinemark r23 Multicore: 22280
I'm in the middle of coding a small project which involves needing an integrated file explorer similar to that of windows explorer.

As java doesn't contain this feature in its libraries i'm coding it from scratch and its almost done bar one thing....

I need to be able to drag file(s) from windows explorer into the file viewer I have made so the files can be copied...

What I don't know how to do is construct an appropriate listener to detect when files are 'dropped' onto the file explorer window so i can read their paths.

Any ideas?
 
Top