I need a help. I had made a swing component for file drag and drop. I used JTabbedPane and when user drag any file from FileChooser or Local Desktop Location and drop it to the Tabbed Pane, It displays the contents of the file on a tab. Program is working perfectly fine.
Now what i want, if any user drag the file and drops it over the component, It should display the name of the file instead of displaying the entire contents. Basically this code is for Uploading the file to the server.
Any sort of help or guidance or clue...most welcome..