This is an API wart we should fix. We should either add a local drag  
translation back or show simpler ways to do it rather than the current  
samples. Could you file a bug at  http://javafx-jira.kenai.com/

Thanks,
        Josh
On Dec 11, 2008, at 10:50 AM, Adam G. wrote:

>
> Ah, thanks Joshua, just discovered the preview. Thanks.
>
> I have asked this some posts ago in long, but now quite short:
>
> Why is the drag'n'drop so complicated. In the old examples it was
> working with this code
>
> onMouseDragged: operation(e) {
>        // updating x and y will move the group
>        // since a translation transform is bound to them
>        x += e.localDragTranslation.x;
>        y += e.localDragTranslation.y;
> }
>
> But now the field localDragTranslation does not exist anymore :(
>
> Any suggestions?
>
> Cheers,
> Adam
>
> On Dec 11, 12:26 am, Joshua Marinacci <[email protected]> wrote:
>> The new JavaFX Pad is NetBeans, actually.  NetBeans now has a preview
>> mode just like in JavaFX Pad where you can type and it will update  
>> the
>> realtime preview on every keystroke.
>> -j
>>
>> On Dec 11, 2008, at 12:22 AM, Adam G. wrote:
>>
>>
>>
>>> When will you come up with a updated JavaFX Pad. Actually I like it
>>> very much but the API and the language version itself is outdated in
>>> the online available JavaFX Pad :(
>>
>>> Cheers,
>>> Adam
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to