Hello, Sven.
Looks like you are not specifying the representation class for the DataFlavor
and it defaults
to the InputStream. So, scene builder puts a ByteBuffer while the
DataTransferer is trying to treat it as an
InputStream.
Could you please try to explicitly specify the representation
The problem seems to be in AbstractDragSource in SceneBuilder. It defines a
javafx.scene.input.DataFormat.
This seems to cause problems if running embedded in Swing. I do not define
my own DataFlavors..
Any further help appreciated..
-Sven
Am 17.03.2014 09:54 schrieb Petr Pchelko
Ok, I see.
This is the problem in FX interop. In
javafx.embed.swing.SwingDnD.DnDTransferable class. It's wrapper that wraps the
FX dragboard into the Swing Trasferable.
It is a simple class and many features are simply not implemented. The
implementation is very basic - it just creates the
Ok.
Will file an issue and if possible create a patch.
Any this could end up in 8u20 (or earlier)?
Thanks
-Sven
Am 17.03.2014 11:05 schrieb Petr Pchelko petr.pche...@oracle.com:
Ok, I see.
This is the problem in FX interop.
In javafx.embed.swing.SwingDnD.DnDTransferable class. It's
Hi Sven,
If you file the bug then yes, we can look at it for 8u20 (there is no
earlier).
And thanks to Petr for providing the evaluation for this.
-- Kevin
Sven Reimers wrote:
Ok.
Will file an issue and if possible create a patch.
Any this could end up in 8u20 (or earlier)?
Thanks
Created RT-36240
-Sven
Am 17.03.2014 13:10 schrieb Kevin Rushforth kevin.rushfo...@oracle.com:
Hi Sven,
If you file the bug then yes, we can look at it for 8u20 (there is no
earlier).
And thanks to Petr for providing the evaluation for this.
-- Kevin
Sven Reimers wrote:
Ok.
Will
Hi Sven,
As you mentioned, some fixes are also required at SB level (the strings passed
to DataFormat).
I'm going to file a JIRA against Scene Builder for that.
I did a sample Swing test with Scene Builder Kit and reproduced the exception
reported in RT-36240. However it seems that this
Yes, I can confirm everything looks ok.. but exceptions all over the place
don't make feel comfortable...
This is with fixed DataFormat String..
Thanks
-Sven
Am 17.03.2014 15:32 schrieb Eric Le Ponner eric.le.pon...@oracle.com:
Hi Sven,
As you mentioned, some fixes are also required at SB
Ok... figured it out. It seems scene.builder.internal crashes the Swing
parsing mechanism for mime types in the data transfer. Changing it to
scene.builder/internal fixes this problem.
Shall I open an issue in Jira for it?
Having fixed this I get another problem :-(
(see stacktrace below)
Not