Re: Extending a Region to create a JUNG Layout

2014-05-30 Thread Jeffrey Guenther
Danno, thanks! It works super well and has so little code! If I use the class in my JUNG work, I need a BSD license. The rest of that codebase is BSD already. I’ll contact you off list if I go that direction. Right now, I’m trying to get my head wrapped around what it would take to modernize JU

Re: Extending a Region to create a JUNG Layout

2014-05-30 Thread Danno Ferrin
You may find this class valuable, it is a pane that listens to zoom and mouse scroll events in a group, essential for large graphs: https://github.com/shemnon/FollowTheBitcoin/blob/master/src/main/groovy/com/shemnon/btc/view/ZoomPane.java I haven't had time to harden it and componentize it into

Re: Extending a Region to create a JUNG Layout

2014-05-30 Thread Jeffrey Guenther
Thank you for the feedback! >> Can someone point me to a detailed explanation of how to extend Region to >> create my own layout? >> In particular, how can I get a region to relayout it's children when it's >> being resized? > > Some quick pointers. First, layout is done asynchronously to the c

Re: Extending a Region to create a JUNG Layout

2014-05-30 Thread Jeffrey Guenther
On May 30, 2014, at 10:55 AM, John Smith wrote: > Much of the internal JavaFX implementation is performed subclassing Region > (or Control which is just a Region subclass itself) and overriding > layoutChildren, but I'm not aware of any official documentation on the > subject other than the s

Re: Extending a Region to create a JUNG Layout

2014-05-30 Thread Richard Bair
> It would be nice if Oracle or somebody else produced some documentation on > this. You could create a feature request in Jira > (https://javafx-jira.kenai.com) for such documentation or email the > documentation team (javasedocs...@oracle.com), or write a blog or a openjfx > wiki article (h

RE: Extending a Region to create a JUNG Layout

2014-05-30 Thread John Smith
Much of the internal JavaFX implementation is performed subclassing Region (or Control which is just a Region subclass itself) and overriding layoutChildren, but I'm not aware of any official documentation on the subject other than the sparse stuff in the Javadoc - so no real tutorials. Maybe t

[8u26] Review Request: RT-36844 [Monocle] Implement modality support for monocle

2014-05-30 Thread Lisa Selle
Daniel, Please review the fix for https://javafx-jira.kenai.com/browse/RT-36844, details in the jira. Thanks, Lisa

hg: openjfx/8u-dev/rt: RT-24674: Mac: Screen.getBounds() and Screen.getVisualBounds() return strange values for secondary screens on MacOS

2014-05-30 Thread hang . vo
Changeset: 1e023b779912 Author:Anthony Petrov Date: 2014-05-30 17:54 +0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/1e023b779912 RT-24674: Mac: Screen.getBounds() and Screen.getVisualBounds() return strange values for secondary screens on MacOS Summary: Flip vertical

[8u20] Review request for RT-32213: Decoding BMP file throws an exception

2014-05-30 Thread Vadim Pakhnushev
Jim, Felipe, Kevin, Please review a fix for this: https://javafx-jira.kenai.com/browse/RT-32213 http://cr.openjdk.java.net/~vadim/RT-32213/webrev.00/ Thanks, Vadim

Re: Extending a Region to create a JUNG Layout

2014-05-30 Thread Sven Reimers
Hi Jeffrey, I did some prototyping with Jung JavaFX and Java 8, the results are here https://bitbucket.org/sreimers/jung8 It uses gradle to build and contains an additional library for jungfx. Enjoy -Sven On Fri, May 30, 2014 at 8:44 AM, Jeffrey Guenther < guenther.jeff...@gmail.com> wrote: