[8u60] review request: RT-39831: Stop using deprecated builders in samples, toys, and other apps

2015-01-27 Thread Elina Kleyman
Hi Kevin, Please review new fix for https://javafx-jira.kenai.com/browse/RT-39831: rt webrev: http://cr.openjdk.java.net/~ekleyman/RT-39831/ (includes fix for next classes: apps/samples/3DViewer/src/main/java/com/javafx/experiments/jfx3dviewer/OldTestViewer.java

Re: TableView API, no lazy retrieval of visible cell content possible?

2015-01-27 Thread Tomas Mikula
Hi Robert, instead of listening to visibleProperty(), listen to sceneProperty() and cancel loading when scene becomes null. Tomas On Tue, Jan 27, 2015 at 1:16 PM, Robert Krüger krue...@lesspain.de wrote: Hi, either I don't see the forest for the trees or something is missing in the

Is it possible to have a SwingNode inside a JFXPanel

2015-01-27 Thread Pedro Duque Vieira
Hi, I'm migrating a Swing app and I have a scenario where I need to have a SwingNode inside a JFXPanel and also a JFXPanel inside a SwingNode. Are this configurations possible? Thanks -- Pedro Duque Vieira

Re: Is it possible to have a SwingNode inside a JFXPanel

2015-01-27 Thread Kevin Rushforth
We don't have a shipping example that does this, but we have run SwingNode in an FX Scene inside a JFXPanel. I don't know if a JFXPanel inside that SwingNode will work, but I can't think of any reason off-hand why it wouldn't. -- Kevin Pedro Duque Vieira wrote: Hi, I'm migrating a Swing

Re: TableView API, no lazy retrieval of visible cell content possible?

2015-01-27 Thread Robert Krüger
Hi Tomas, When I do that, the property is never set to null. If I use it for triggering the loading (when it is set to a non-null value) it is set for a lot more rows than those actually visible. In my test with a model containing 200 items of which the first 4 were visible, it was set to

Re: Why do the Linux packages go into /opt?

2015-01-27 Thread Danno Ferrin
I'm not sure why it goes into /opt (that decision predates my tenure), but since the JRE is included it may be considered a large software package unsuitable for the /usr directory, and since it is an add-on application software packages opt seems to be a sensible place. It may also be a

Why do the Linux packages go into /opt?

2015-01-27 Thread Mike Hearn
javapackager makes debs that install things into /opt, which means they aren't on the path. Is there a reason for this choice rather than making FHS-compliant packages that install into /usr? thanks!

Re: TableView API, no lazy retrieval of visible cell content possible?

2015-01-27 Thread Tomas Mikula
If the cells don't ever get removed from the scene, then I guess your best bet is to start and cancel loading when the item changes, i.e. listening to itemProperty(). This is similar to your original updateItem() approach, but also don't forget to cancel loading of the old item: cancel loading of

Re: Setting a default stylesheet for a custom control

2015-01-27 Thread Tom Eugelink
Indeed. There are more than enough examples to look at and copy from :-) https://github.com/JFXtras/jfxtras/blob/8.0/jfxtras-controls/src/main/java/jfxtras/scene/control/ListSpinner.java On 27-1-2015 23:30, Jonathan Giles wrote: If I'm correctly understanding your question, you want to

custom controls: printing

2015-01-27 Thread Tom Eugelink
Do I need to do something special to support printing of custom controls? The use case is that on screen a spreadsheet can be shown in a scrollpane, but when printing the whole spreadsheet should be printed. Tom

Re: custom controls: printing

2015-01-27 Thread Phil Race
On 1/27/15 4:08 PM, Tom Eugelink wrote: Do I need to do something special to support printing of custom controls? The use case is that on screen a spreadsheet can be shown in a scrollpane, but when printing the whole spreadsheet should be printed. Being a 'custom' control doesn't really make

Re: Path Rendering in 8u40

2015-01-27 Thread Kevin Rushforth
Sounds like the SVG path bug is something different then. That might be related to the JIRA you noted below, but maybe Jim can comment. In the mean time, can you file a new JIRA with a test case? -- Kevin Scott Palmer wrote: AH! Thankfully that was it.. I had never intended for the paths to

Re: Path Rendering in 8u40

2015-01-27 Thread Scott Palmer
AH! Thankfully that was it.. I had never intended for the paths to no be smooth, but I suspect I was experimenting trying to get better performance at some point and the call to setSmooth(false) was left in. However, the issue with the SVG paths from CSS remains. You can see it more clearly in

Re: Path Rendering in 8u40

2015-01-27 Thread Jim Graham
Where are the attached files? When you say you zoomed them in, is that with a screen pixel scaler, or by applying a scaling transform to the SVG path? I'm guessing that you are correct about RT-39439, but the fix there should have made the paths more accurate? Could the kinks have been in

javafx.embed.singleThread flag questions

2015-01-27 Thread Cirujano Cuesta, Diego
Hi all, I have a few questions about the javafx.embed.singleThread flag: Is it still experimental? Is it recommended the usage of this flag in an application with several JFXPanels and swing with communication between them? anybody using it? any experience/opinion about it? Thanks!

Re: Path Rendering in 8u40

2015-01-27 Thread Kevin Rushforth
Do you explicitly set smooth=false on your path? If so, that would be due to: https://javafx-jira.kenai.com/browse/RT-39468 We used to ignore the smooth flag (it's a rasterization hint) but now honor it and disable AA if set to false. -- Kevin Scott Palmer wrote: I'm seeing a regression

Re: Setting a default stylesheet for a custom control

2015-01-27 Thread Jonathan Giles
If I'm correctly understanding your question, you want to override the getUserAgentStylesheet() method inside your Control class. In here you'll simply return the CSS file that is being used to style your custom control. I'm also aware there are some issues (with CSS error messages being

Re: custom controls: printing

2015-01-27 Thread Tom Eugelink
Ok, so looking at some examples like http://java.dzone.com/articles/introduction-example-javafx-8 where PrintJob is let lose on a node, JavaFX's PrintJob will either use the screen rendering or -if present- call: public void print(PrinterJob job) Correct? Tom On 28-1-2015 02:43, Phil Race

Re: iMX6Q graphics performance

2015-01-27 Thread Prasant Jalan
Hi Dave, On Tuesday 27 January 2015 11:31 PM, David Hill wrote: On 1/21/15, 12:31 AM, Prasant Jalan wrote: The above information will help us test our system. We have also put a system together and the above answers will give us a reference measurement. We could use your test app and get

How to use scaleX/Y to change layout bounds?

2015-01-27 Thread Tobias Bley
Hi, when I call button.setScaleX(.5) and button.setScaleY(.5) the button changes it’s size only visually - the layout bounds does not change… How can I change this behaviour? Best regards, Tobi

Code Review Request For RT-39873: [Mac] Enable parallel execution of FX thread and Renderer thread for JFXPanel, FXCanvas

2015-01-27 Thread Chien Yang
Hi Kevin, Please review the simple proposed fix: JIRA: https://javafx-jira.kenai.com/browse/RT-39873 Webrev: http://cr.openjdk.java.net/~ckyang/RT-39873/webrev.00/ - Chien

Re: javafx.embed.singleThread flag questions

2015-01-27 Thread Kevin Rushforth
Hi, It is experimental in FX 8, but we might consider making it available via an API call in the future. I haven't heard of any problems in using it, though, so you can feel free to use it as long as you have tested it well. -- Kevin Cirujano Cuesta, Diego wrote: Hi all, I have a few

Re: iMX6Q graphics performance

2015-01-27 Thread David Hill
On 1/21/15, 12:31 AM, Prasant Jalan wrote: The above information will help us test our system. We have also put a system together and the above answers will give us a reference measurement. We could use your test app and get the fps measurement and know if our system is behaving fine. Then