Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Get JavaFX Drag and Drop target Folder

GoXR3PlusMay 29 2016 — edited Sep 23 2016

A container with a lot of buttons exist,where each button has a name which represents an absolute file path.So when the button is dragged to a folder or desktop(let's say in Windows) it is copied by user's Operating System:(Code)

button.setOnDragDetected(event -> {

  
/* allow copy transfer mode */
  
Dragboard db =  startDragAndDrop(TransferMode.COPY,TransferMode.LINK);

  
/* put a string on dragboard */
  
ClipboardContent content = new ClipboardContent();

  
/*Adding a file into the ClipboardContent*/
  content
.putFiles(Arrays.asList(new File(getSongPath())));

  
........

  db
.setContent(content);

  event
.consume();

  
}

The problem:

What i want is when the drop is done to get the folder where the file|files have been dropped..so i can make a progress bar for big files..Here says that it can be done but when i try to get GestureTarget it is null.

Comments

Arpit Jain -Oracle
Answer

Hi,

Sample DB installer are no longer available on Oracle eDelivery Cloud. For getting the sample DB, you have to download patchset 5 of Siebel 15 from "Patches & Updates" section of My Oracle Support portal (Patch Id: 22081062) and extract the network image using SNIC as usual. You might notice that SNIC now offers ORACLE XE Local and Sample Database.

Also if you select the ORACLE XE options while creating network image and inspect the network image folders, you will miss separate installers. This is because the Sample Database installer for Oracle XE is included with the Siebel (Mobile/Developer) Web Client and the Local Database installer is included with Siebel Tools.

So when you run the Siebel Web Client installer for the Patchset installation, you can choose to include the sample database, which is silently installed. Please try installing web client and let us know if it gives you the option to choose to include sample database.

For more details, please refer bookshelf:

http://docs.oracle.com/cd/E63029_01/books/SiebInstWIN/SiebInstCOM_Image2.html#wp1995894http://docs.oracle.com/cd/E63029_01/books/SiebInstWIN/SiebInstCOM_Image2.html#wp1995894

Hope this information helps.

Thanks & Regards,

Arpit Jain

Marked as Answer by 3070203 · Sep 27 2020
3056815

Does this mean now "Generate New Database" job will always fail because it depends on SQL Anywhere Engine which is no longer part of the installer?

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 21 2016
Added on May 29 2016
2 comments
2,317 views