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 th

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

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 w

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 n

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 t

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 a

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 th

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: 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 overrid

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 prin

Setting a default stylesheet for a custom control

2015-01-27 Thread Pedro Duque Vieira
Hi, I'm developing a custom control, in the process I've used CSS to define its style. Now I want to make this control available for use by any developer, so I want this control to have a default stylesheet which is the one I've used to create the control much like javafx controls have a default s

Re: javafx.embed.singleThread flag questions

2015-01-27 Thread Ludovic HOCHET
Hello, When using the flag I get an NPE in java.awt.EventQueue as I described in the AWT list [1] (where I think the solution should be). It only shows if you set an uncaught exception handler though. Ludovic [1] http://mail.openjdk.java.net/pipermail/awt-dev/2014-December/008744.html Kevin Rush

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 w

Path Rendering in 8u40

2015-01-27 Thread Scott Palmer
I'm seeing a regression where Paths are not rendered with anti-aliasing on 8u40. On 8u20 they are fine. There are also glitches in SVG Paths from CSS. The SVG paths are smooth, but the end points are different and they have 'kinks'. There is also a difference in the position of my "arrowhead" o

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 t

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 so

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 non-null

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: 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 ap

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: 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 wrote: > Hi, > > either I don't see the forest for the trees or something is missing in the > TableView API as I canno

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

2015-01-27 Thread Robert Krüger
Hi, either I don't see the forest for the trees or something is missing in the TableView API as I cannot seem to implement something that seems a common requirement and was rather easy (not pretty though) in Swing. Imagine an application like OSX finder in its list view, i.e. something that displ

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 we

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 qu

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

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! Die

[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: 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 apps/samples/Ensemble8/src/