Re: JavaFX on rPi iOS with RoboVM

2013-10-30 Thread Tom Schindl
[...] x/y translate animations: animation them e.g. by sliding them in from is lags a lot. I know that charts are not the easiest components but anyways I think sliding a chart in and out must be smooth. In real english - Animating the charts by e.g. sliding them in from right to left

Re: Constructor annotation

2013-10-16 Thread Tom Schindl
On 16.10.13 11:22, Eva Krejcirova wrote: Hi All, when we retired builders, we caused a problem for FXML which doesn't have a way to create classes without default constructors. Back then we decided to use an annotation for this but never actually got to implement it and we need to fix this

Re: Constructor annotation

2013-10-16 Thread Tom Schindl
this is my preference. It is useful for things other than FXML, and should be considered part of our javafx.beans API. On Oct 16, 2013, at 4:20 AM, Tom Schindl tom.schi...@bestsolution.at wrote: On 16.10.13 11:22, Eva Krejcirova wrote: Hi All, when we retired builders, we caused a problem

Re: Constructor annotation

2013-10-16 Thread Tom Schindl
to do our best to auto-convert the String. I don't want to say that we should implement the default value definition in FX8 but it would feel more natural with an annotation per argument. Tom On 16.10.13 17:12, Tom Schindl wrote: To me the JavaBean solution with one annotation looks error prone

Re: JAVAFX on ANDROID

2013-10-11 Thread Tom Schindl
On 11.10.13 18:10, Matthias Hänel wrote: Hi Tomas, today, I took the time to investigate a little more time on this. 1. I build an entirely new openjfx78 build for android 2. starting this gave me several errors that lead me to the conclusion that I need a java6 openjfx 3. based on

Re: JAVAFX on ANDROID

2013-10-10 Thread Tom Schindl
So when I compile my own FX what target to I compile to? I guess I compile on linux, right? Tom On 10.10.13 22:01, Tomas Brandalik wrote: Hi Tobi and Philippe, Android port is being developed in open source so all developers can see every progress. There is nothing to hide. You can understand

Re: JAVAFX on ANDROID

2013-10-10 Thread Tom Schindl
FX78 should be compatible with Java6 because RoboVM is built on dalvik classlib and JavaFX works there! Tom On 10.10.13 22:42, Tobi wrote: Hi Tomas, How did you test the Dalviklauncher? Do you have a Java6 compatible jFX version? And how did you test the JavaSELauncher? Do you have a

Re: hg: openjfx/8/graphics/rt: 3 new changesets

2013-10-08 Thread Tom Schindl
So where the src.zip end up, so that k can adjust the tooling? Tom Von meinem iPhone gesendet Am 08.10.2013 um 18:32 schrieb hang...@oracle.com: Changeset: 61727bf6e832 Author:kcr Date: 2013-10-08 09:26 -0700 URL:

Re: Lambdafication (was Re: Default methods in JFX-8)

2013-10-07 Thread Tom Schindl
... I can't see any real improvement for using lambdas beside that you killed off warnings which could be fixed otherwise as well. So I really don't get what it would help us beside making e.g. RoboVM our sole chance to get FX on iOS harder to maintain. Tom On 07.10.13 16:16, Sven Reimers

Re: FXMLLoader templates

2013-10-01 Thread Tom Schindl
In case someone needs extra performance I can point you to my FXML = Java-Converter which will give you the best performance ;-) Tom On 01.10.13 09:15, Martin Sladecek wrote: After discussion with Richard, we decided to remove the template flag from FXMLLoader for 8.0. This API is not mature

Re: How to attach files to Jira?

2013-09-30 Thread Tom Schindl
This was turned off long time ago to avoid spam and upload of viruses. What I don't understand is why people who e.g. filed 10bug reports or made 10 comments, asked for upload permission at this very list, ... don't get the possibility. Another option would be to only allow patches / text files.

Re: ScrollBar visibleAmount value

2013-09-03 Thread Tom Schindl
more. The reason why was for virtualized uses like with ListView where the height of the thumb might change as you scroll. On Sep 2, 2013, at 1:38 PM, Tom Schindl tom.schi...@bestsolution.at wrote: Hi, Before fileing a bug I wanted to post here because maybe I get this completely wrong

Re: ServiceLoader

2013-09-03 Thread Tom Schindl
Well once we have a replacement for builders this is not needed anymore so I don't think there's a JIRA needed. When we discussed replacements for builders in context of FXML the consensus was to have annotations on the constructor to map the arguments appropriately. Eva suggested

Re: Creating custom chart - XYBarChart

2013-09-02 Thread Tom Schindl
The problem is not the javadocs but that one makes internals of a class API and has to live with it forever. Tom Von meinem iPhone gesendet Am 02.09.2013 um 02:09 schrieb Pedro Duque Vieira pedro.duquevie...@gmail.com: Hi, Sorry for sending in several emails to the mailing list at once.

Re: replace a section of ObservableList in one operation?

2013-09-02 Thread Tom Schindl
I don't think there's API for this so the only idea is to copy the list to an ArrayList, do the replace there and afterwards call ObservableList#setAll(). Tom On 02.09.13 14:22, Tomas Mikula wrote: Hi, I cannot find a way to replace a section of ObservableList in one operation. I'm looking

ScrollBar visibleAmount value

2013-09-02 Thread Tom Schindl
Hi, Before fileing a bug I wanted to post here because maybe I get this completely wrong. Say we have have a scrollbar with min = 0 max = 100 visualAmount = 50. I would have expected like in Swing SWT that the maximum value of the scrollbar is 50 (=max - visualAmount) but the value is still

Re: Call static content

2013-08-24 Thread Tom Schindl
This is more a user group question! A node can be shown only in one place. If you want to reuse the same image load the image into javafx.scene.Image and set it to different ImageView-Nodes. Tom On 24.08.13 21:01, Peter Penzov wrote: I have this code from JavaFX application: private static

Re: Unchecked conversion warning

2013-08-13 Thread Tom Schindl
Hi Sven, I'm building from master and don't see this. Do you build with gradle or inside your IDE? I've so many type warnings in Eclipse (~12.000) that I probably don't spot this warning. In the gradle build I think all warnings are simply turned off. Tom On 13.08.13 15:29, Sven Reimers wrote:

Re: Unchecked conversion warning

2013-08-13 Thread Tom Schindl
No warning in Eclipse so: a) it is javac (Eclipse uses its own compiler) b) it is netbeans use of javac Tom On 13.08.13 16:20, Sven Reimers wrote: Just use b102 create a new file and type the line... -Sven On Tue, Aug 13, 2013 at 4:01 PM, Tom Schindl tom.schi...@bestsolution.at

Re: JavaFX CSS significantly differs from W3C CSS (Forked from RE: Proposal to move default style-class from Control to SkinBase)

2013-08-08 Thread Tom Schindl
, On Thu, Aug 8, 2013 at 1:38 AM, Tom Schindl tom.schi...@bestsolution.at mailto:tom.schi...@bestsolution.at wrote: SASS can be used as well in fx, it is simply a preprocessor, like LESS, and for CSS the language and selectors there is a grammer! CSS is simply a DSL and its

PrefWidth/Height calculations only works if stage is shown

2013-08-08 Thread Tom Schindl
Hi, I've been trying to open a window in the minimal dimension needed by components but it looks like size calculations prefHeight/prefWidth only works if the stage is shown. I need the dimensions before showing the stage because I want to position it on the lower right of the screen before

Re: PrefWidth/Height calculations only works if stage is shown

2013-08-08 Thread Tom Schindl
. Richard On Aug 8, 2013, at 2:26 PM, Tom Schindl tom.schi...@bestsolution.at wrote: Hi, I've been trying to open a window in the minimal dimension needed by components but it looks like size calculations prefHeight/prefWidth only works if the stage is shown. I need the dimensions before showing

Re: PrefWidth/Height calculations only works if stage is shown

2013-08-08 Thread Tom Schindl
Prefect! Tom On 08.08.13 23:40, Richard Bair wrote: The peers don't impact the preferred sizes at all. Use this one instead of impl_reapplyCSS (wrong one) impl_processCSS(true) On Aug 8, 2013, at 2:35 PM, Tom Schindl tom.schi...@bestsolution.at wrote: No same result! BorderPane g

Re: Proposal to move default style-class from Control to SkinBase

2013-08-07 Thread Tom Schindl
Oh and one more thing: IIRC you can run e.g. less in rhino so feeding it a less file with -fx properties should get you css file which you can pass on to FX. Tom On 07.08.13 22:56, Tom Schindl wrote: If I get your complain right what you want has nothing to do with CSS but you are requesting

Re: JavaFX CSS significantly differs from W3C CSS (Forked from RE: Proposal to move default style-class from Control to SkinBase)

2013-08-07 Thread Tom Schindl
...@openjdk.java.net [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of Tom Schindl Sent: Wednesday, August 07, 2013 2:01 PM To: openjfx-dev@openjdk.java.net Subject: Re: Proposal to move default style-class from Control to SkinBase Oh and one more thing: IIRC you can run e.g. less

Is Node.setClip() expected detect changes to the clip-Node?

2013-08-05 Thread Tom Schindl
Hi, I've been hunting a bug in TitledPaneSkin [1] which makes me wonder if maybe the control code is using the Clip-Feature in appropriately. The code in general looks like this: public class BlaSkin extends Node { private Rectangle rect; public BlaSki() { rect = new Rectangle();

Re: Is Node.setClip() expected detect changes to the clip-Node?

2013-08-05 Thread Tom Schindl
I think I've nailed it down now - the problem is that the clip's treeVisible-Property is not update appropiately, hence it is never taken into account and synced because the system thinks it is invisible after the first initialization. Tom On 05.08.13 15:26, Tom Schindl wrote: https://javafx

Re: JavaFX and iOS - it will remain a dream

2013-08-01 Thread Tom Schindl
with FXMLLoader for a seamless experience ala .bss files. On Tuesday, July 30, 2013, Tom Schindl wrote: I don't think it is a good idea to use fxml on embedded and mobile, we are working on a fxml = java converter so you can add it to your build process. Tom Von meinem

Re: JavaFX and iOS - it will remain a dream

2013-07-31 Thread Tom Schindl
I don't think it is a good idea to use fxml on embedded and mobile, we are working on a fxml = java converter so you can add it to your build process. Tom Von meinem iPhone gesendet Am 31.07.2013 um 08:11 schrieb Niklas Therning nik...@therning.org: after many days trying to really build iOS

Re: JavaFX and iOS - it will remain a dream

2013-07-31 Thread Tom Schindl
think FXML on mobiles is a bad idea? Performance? -Original Message- From: openjfx-dev-boun...@openjdk.java.net [mailto:openjfx-dev-boun...@openjdk.java.net] On Behalf Of Tom Schindl Sent: Wednesday, 31 July 2013 16:29 To: Niklas Therning Cc: openjfx-dev@openjdk.java.net Mailing

Re: JavaFX and iOS - it will remain a dream

2013-07-31 Thread Tom Schindl
cool. If I remember correctly Rhino can compile JS to bytecode AOT. RoboVM would then be able to compile that bytecode to machine code. On Wed, Jul 31, 2013 at 8:28 AM, Tom Schindl tom.schi...@bestsolution.at mailto:tom.schi...@bestsolution.at wrote: I don't think it is a good idea

Re: JavaFX 2 memory leaks in StyleManager (making FX2 completely unusable for application development)

2013-07-30 Thread Tom Schindl
Now. On Tue, Jul 30, 2013 at 3:58 PM, Tom Schindl tom.schi...@bestsolution.at mailto:tom.schi...@bestsolution.atwrote: [resending because mail was blocked yesterday because of included images] Hi, I've been

Re: New Layout Panes in JavaFX 8

2013-07-27 Thread Tom Schindl
There are external panes e.g. MiglayoutPane, I have ports of the SWT-Layouts (Fill,Grid,Row). Tom On 27.07.13 16:06, Peter Penzov wrote: I would like to ask you are you planning to add new Layout Panes in JavaFX 8?

Re: Detecting when a TreeItem is no more used

2013-07-26 Thread Tom Schindl
Correct, but then i1 is not referenced anymore and so GC should free it, not? Tom On 26.07.13 21:45, Fabrizio Giudici wrote: On Fri, 26 Jul 2013 13:47:50 +0200, Tom Schindl tom.schi...@bestsolution.at wrote: Not sure but what is reused is the TreeCell, the TreeItem is not freed and has

Re: Can JavaFX do CAD?

2013-07-25 Thread Tom Schindl
On 25.07.13 13:44, Pavel Safrata wrote: Hi Richard, I have a comment to one of your questions: On 24.7.2013 21:06, Richard Bair wrote: - Would we benefit from a full lazy model for properties where we only instantiate them if somebody adds a listener We've done that in

Code style guide lines

2013-07-25 Thread Tom Schindl
Hi, I'm once more doing a clean up pass to get out of the way warnings in the control codebase - RT-31907. Do you guys follow any coding guide lines? Wouldn't it be good if the JavaFX codebase would follow http://openjdk.java.net/guide/codeConventions.html Tom

Re: Code style guide lines

2013-07-25 Thread Tom Schindl
the wiki to have all the standards (rather than build up a list ahead of time). The Java code conventions should be seen as the rule book, unless we've explicitly modified it and documented it. Richard On Jul 25, 2013, at 10:39 AM, Tom Schindl tom.schi...@bestsolution.at wrote: Hi, I'm

Re: Code style guide lines

2013-07-25 Thread Tom Schindl
On 25.07.13 20:59, Richard Bair wrote: * Should a switch always have a default-case? - According to the Java guidelines this should be! I would say definitely yes. The default clause should throw an AssertionError if it really is unexpected. This will catch cases where we add an enum type

Re: Building sources for jfxrt.jar and missing packages

2013-07-16 Thread Tom Schindl
If you do that, you might be interested that e(fx)clipse by default searches for the fx-sources in a file named javafx-src.zip which is located next to your src.zip and attaches them to the Library-Path-Entry. [...] Is this the correct way to go about it? I also noticed that the jfxrt.jar

Re: Building sources for jfxrt.jar and missing packages

2013-07-16 Thread Tom Schindl
Do you already have an idea of the nameing location? Or will it be part of src.zip? Tom On 16.07.13 13:35, Kevin Rushforth wrote: I´m trying to build a jar containing all sources for jfxrt.jar, so I can attach it in Eclipse. For this I´ve added the following lines to the root build.gradle:

Re: JDK 8 for ARM Early Access Releases (with JavaFX)

2013-07-10 Thread Tom Schindl
Hi David Daniel, Is there a version which works on a beagleboard (or beagleboard like hardware) as well? IIRC hard float does not work there. Tom On 10.07.13 18:49, David Hill wrote: On 7/10/13 Jul 10, 10:22 AM, Gerrit Grunwald wrote: I just saw some problems with complex -fx-shape based

Re: [Review request] Make Cell.updateItem(item, empty) public, rather than protected

2013-07-09 Thread Tom Schindl
more crucial than you might think. /end speach Sorry but it was an opportune time... Retiring thumbs, David Sent from my iPhone On Jul 9, 2013, at 12:28 AM, Tom Schindl tom.schi...@bestsolution.at wrote: On 09.07.13 04:10, Jonathan Giles wrote: Hi all, This request is to change

Re: [Review request] Make Cell.updateItem(item, empty) public, rather than protected

2013-07-09 Thread Tom Schindl
Whether this justifies breaking code is up to the openjfx team, simply saying it does not break compatibility to get some API approved is not the way to go. I don't want to imply that Jonathan did this! I know it was an oversight. Tom

Re: [API Review]: Node validation

2013-07-09 Thread Tom Schindl
On 09.07.13 22:59, David Grieve wrote: Since there is already a requestLayout() which defers to the next pulse, what about demandLayout()? then I would go for forceLayout() Tom

Re: Dumping the rendering process in JavaFX

2013-06-07 Thread Tom Schindl
I've started working on a JavaFX-Scene to FXML dumper but its not yet really useable. Tom On 07.06.13 14:34, Hervé Girod wrote: Hello, We are porting a swing application in JavaFX, and we had various unit tests where we created for testing purposes a dummy Graphics2D which stored the list

Re: Backwards compatibility issue?

2013-05-31 Thread Tom Schindl
the JIRA mentioned is not public - we the e(fx)clipse project are working on such a feature as well for one of our next releases - so if openjfx does provide it we could spend our time on other important improvements! Tom On 31.05.13 19:54, Richard Bair wrote: What's so horrid about css to

<    1   2   3   4