hg: openjfx/8u-dev/rt: 2 new changesets

2014-06-10 Thread hang . vo
Changeset: 619b6657bf41 Author:Daniel Blaukopf daniel.blauk...@oracle.com Date: 2014-06-10 08:45 +0300 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/619b6657bf41 RT-37474 [Monocle] Shift-backspace generates an undefined key code Reviewed-by: kselle !

Re: How to scale control properly?

2014-06-10 Thread Martin Sladecek
That should work for non-resizable Nodes, but resizables would be tricky if not impossible. During the layout pass, we need to know min/pref/max size. In this case, it would have to be adjusted with the transformation (which can be a rotation, shear or doesn't have to be affine). The

Re: monitor mouse events but not capture them

2014-06-10 Thread Tom Eugelink
Looking at PopupWindow; that is an abstract class and I'm not finding much examples on how to use it. Maybe extending PopupControl would be a better choice. Been looking at the ContextMenu source code (which is extending PopupControl), but it is somewhat mysterious how those MenuItems get

Re: SceneBuilder 2.0 import custom components from Jar

2014-06-10 Thread Eric Le Ponner
@Christian, JAR import command of Scene Builder 2.0 collects all the classes found in the JAR file and retains only the one that 1) can be instantiated using FXMLLoader 2) extends javafx.scene.Node. In practice, for each class a.b.C, it generates the following FXML:

Re: monitor mouse events but not capture them

2014-06-10 Thread Tomas Mikula
What about using Popup, which is a subclass of PopupWindow? You just need to populate its content popup.getContent().addAll(Node...); and then show it at the right position, relative to any node popup.show(canvas, x, y); Tomas On Jun 10, 2014 8:49 AM, Tom Eugelink t...@tbee.org wrote:

hg: openjfx/8u-dev/rt: RT-32213: Decoding BMP file throws an exception

2014-06-10 Thread hang . vo
Changeset: 815505eb4abc Author:vadim Date: 2014-06-10 16:52 +0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/815505eb4abc RT-32213: Decoding BMP file throws an exception Reviewed-by: kcr, flar !

hg: openjfx/8u-dev/rt: Follow-up for RT-32213: Use ImageTools.readFully method.

2014-06-10 Thread hang . vo
Changeset: 1aec26077b48 Author:vadim Date: 2014-06-10 17:08 +0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/1aec26077b48 Follow-up for RT-32213: Use ImageTools.readFully method. ! modules/graphics/src/main/java/com/sun/javafx/iio/bmp/BMPImageLoaderFactory.java

Re: monitor mouse events but not capture them

2014-06-10 Thread Tomas Mikula
Since talk is cheap, I slightly reworked your code (not using PopupWindow) and it seems to work. CircularPopupMenu: https://github.com/TomasMikula/jfxtras-labs/blob/8.0/src/main/java/jfxtras/labs/scene/menu/CirclePopupMenu1.java Sample:

Re: monitor mouse events but not capture them

2014-06-10 Thread Tomas Mikula
Just because I wanted to make minimal changes to your code, which was already using StackPane. Yes, Popup would remove the need for a StackPane. On Tue, Jun 10, 2014 at 3:52 PM, Tom Eugelink t...@tbee.org wrote: You're way ahead of me. Why use stackpane and not popup as suggested? Wouldn't

hg: openjfx/8u-dev/rt: Fix for RT-35004 - Sample JavaFX 8 projects from Oracle wont build on NetBeans 8.0

2014-06-10 Thread hang . vo
Changeset: c11fe70cde3c Author:lisa.se...@oracle.com Date: 2014-06-10 10:45 -0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/c11fe70cde3c Fix for RT-35004 - Sample JavaFX 8 projects from Oracle wont build on NetBeans 8.0 Reviewed by kcr Tested with netbeans 8. !

Re: -fx-background-radius problem

2014-06-10 Thread Jeff Martin
This is on 8u5 b13. Running with SW on Mac didn't reproduce the problem. Here is the jira: Jira: -fx-background-radius not rendering on Parallels Windows jeff On Jun 9, 2014, at 6:18 PM, Kevin Rushforth kevin.rushfo...@oracle.com wrote: Since you said: On Parallels Windows it

hg: openjfx/8u-dev/rt: INTELLIJ ONLY: fix project files to compile code in rt/tests (match Eclipse)

2014-06-10 Thread hang . vo
Changeset: 72d965b4d0f5 Author:snorthov Date: 2014-06-10 11:20 -0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/72d965b4d0f5 INTELLIJ ONLY: fix project files to compile code in rt/tests (match Eclipse) ! .idea/modules.xml + .idea/rt-tests.iml

[8u20] review request: RT-35912: [Ensemble8] build.xml fails if run from generated source bundle

2014-06-10 Thread Kevin Rushforth
Hi Lisa and David, Please review: https://javafx-jira.kenai.com/browse/RT-35912 Details are in JIRA. -- Kevin

Re: monitor mouse events but not capture them

2014-06-10 Thread Tom Eugelink
Thanks for all the help, you've given me a lot of helpful tips. I already was working on a popup based version and I see you ran into the same problems as I did (initial popup had no width for the circularPane, etc), the difference is that I bind the menu to Stage, since I do not envision

ScrollPane.content moves with arrow keys

2014-06-10 Thread Werner Lehmann
Hi, we came across a curious behavior of ScrollPane in 8u5: the scrollpane content can be moved around with arrow keys if it is smaller than the viewport. This can be reproduced in SceneBuilder with simple FXML: ?xml version=1.0 encoding=UTF-8? ?import java.lang.*? ?import

Re: ScrollPane.content moves with arrow keys

2014-06-10 Thread Eric Le Ponner
Curious indeed :) And probably not intended you’re right. Note that Scene Builder 2.0 embeds its own jdk. So it means the problem can be reproduced with FX8 GA release. Eric Le 10 juin 2014 à 18:18, Werner Lehmann lehm...@media-interactive.de a écrit : Hi, we came across a curious

Re: monitor mouse events but not capture them

2014-06-10 Thread Tom Eugelink
Ah, attaching to Node is a good idea after all! Tom On 2014-6-10 17:44, Tom Eugelink wrote: Thanks for all the help, you've given me a lot of helpful tips. I already was working on a popup based version and I see you ran into the same problems as I did (initial popup had no width for the

[8u26] Review request RT-36915 [Monocle] Add support for minimize to monocle

2014-06-10 Thread Lisa Selle
Daniel, Please review the proposed fix for https://javafx-jira.kenai.com/browse/RT-36915 Details in the jira. Thanks, Lisa

hg: openjfx/8u-dev/rt: [Accessibility] Very rudimentary a11y support for TextFlow (note that TextFlow currently is not used by Controls, better support will be required is that ever changes)

2014-06-10 Thread hang . vo
Changeset: da52f6e7f012 Author:Felipe Heidrich felipe.heidr...@oracle.com Date: 2014-06-09 15:28 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/da52f6e7f012 [Accessibility] Very rudimentary a11y support for TextFlow (note that TextFlow currently is not used by

Re: monitor mouse events but not capture them

2014-06-10 Thread Tomas Mikula
Somehow I didn't get your previous email that you are quoting now. Listening to MOUSE_MOVED events on the Scene seemed to work for me. Didn't it work for you? You may as well install the menu to a Scene instead of a Node. That will also simplify listening to scene's events, because you don't have

Re: monitor mouse events but not capture them

2014-06-10 Thread Tom Eugelink
My internet provider has problems sending to GMail addresses. For me it worked to register to scene.getRoot(). I like registering to a node, because it allows to install different menu's to different nodes, but still do the most common approach of install a single menu to the top level pane.

New skinning in FX8 – where do the style classes go

2014-06-10 Thread Randahl Fink Isaksen
Hi everybody I am a bit puzzled by the changes to the Skinnable API. With FX2 I created a couple of SkinBase based skins, and back then SkinBase was a descendant of Control. So I had Control ◀︎—— SkinBase ◀︎—— MySkin Now SkinBase is just a descendant of Object, which means I need to rewrite

Re: monitor mouse events but not capture them

2014-06-10 Thread Tom Eugelink
Placed a new version in GIT, tests are green as well. I'm quite pleased with the improvements. Going to take a peek at CornerMenu to see if it makes sense to refactor it also. Tom

hg: openjfx/8u-dev/rt: RT-36361: [Accessibility] Mac: context menu hot key not working

2014-06-10 Thread hang . vo
Changeset: 30b24988ef50 Author:Anthony Petrov anthony.pet...@oracle.com Date: 2014-06-10 21:17 +0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/30b24988ef50 RT-36361: [Accessibility] Mac: context menu hot key not working Summary: Don't use menuForEvent: and always

Re: New skinning in FX8 – where do the style classes go

2014-06-10 Thread Werner Lehmann
Hi Randahl, see this wiki page... https://wiki.openjdk.java.net/display/OpenJFX/UI+Controls+Architecture and below: On 10.06.2014 19:18, Randahl Fink Isaksen wrote: Object ◀︎—— SkinBase ◀︎—— MySkin —— MySkinControl The new SkinBase is returning a modifiable version of the control's

[8u20] Review request: RT-36240: Drag and Drop for complex datatypes fails with JavaFX embedded in Swing

2014-06-10 Thread Anthony Petrov
Hi Steve, Please review: https://javafx-jira.kenai.com/browse/RT-36240 -- best regards, Anthony

hg: openjfx/8u-dev/rt: RT-37436: [FXCanvas, JFXPanel] NPE in Browser while pressing back/forward buttons from mouse

2014-06-10 Thread hang . vo
Changeset: d10817fc3844 Author:snorthov Date: 2014-06-10 14:06 -0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d10817fc3844 RT-37436: [FXCanvas, JFXPanel] NPE in Browser while pressing back/forward buttons from mouse Reviewed by: felipe, anthony !

[8u26] Review Request: RT-37369 [Monocle] When a child window is dismissed, the main window does not repaint right away

2014-06-10 Thread Lisa Selle
Daniel, Please review the proposed fix for https://javafx-jira.kenai.com/browse/RT-37369 Details in the jira. Thanks, Lisa

Re: ScrollPane.content moves with arrow keys

2014-06-10 Thread Werner Lehmann
It affects 8u5 as well: [#RT-37491] ScrollPane content can be moved around with arrow keys https://javafx-jira.kenai.com/browse/RT-37491 Werner On 10.06.2014 18:30, Eric Le Ponner wrote: Curious indeed :) And probably not intended you’re right. Note that Scene Builder 2.0 embeds its own jdk.

hg: openjfx/8u-dev/rt: RT-35197: Use Lambda in FX runtime and samples

2014-06-10 Thread hang . vo
Changeset: 79ce29689619 Author:snorthov Date: 2014-06-10 14:35 -0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/79ce29689619 RT-35197: Use Lambda in FX runtime and samples Reviewed by: kcr ! tests/app-lifecycle/ClassLoaderApp/src/classloader/TestApp2.java !

hg: openjfx/8u-dev/rt: RT-35912: [Ensemble8] build.xml fails if run from generated source bundle

2014-06-10 Thread hang . vo
Changeset: 7dbf508c2334 Author:kcr Date: 2014-06-10 11:58 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/7dbf508c2334 RT-35912: [Ensemble8] build.xml fails if run from generated source bundle Reviewed-by: kselle, ddhill ! apps/samples/Ensemble8/build.xml

VisibleBounds

2014-06-10 Thread Jeff Martin
What is the JFX equivalent of JComponent.getVisibleRect() - and is there a way to get a notification when it changes? jeff

Bundler question for Mac OS X...

2014-06-10 Thread Tony Anecito
Hi All, I noticed the menu bar for OS X is probably using my class name that has the static main in it. How do I override that in the JavFX Deploy ant script? The About, Hide and Quit sub-menu items are using a different name than what I want. The main menu item is correct. Thanks! Tony