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

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

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

2013-07-10 Thread Tom Schindl
... resending on behalf of Daniel. Original Message Subject:Fwd: Re: JDK 8 for ARM Early Access Releases (with JavaFX) Date: Wed, 10 Jul 2013 13:29:54 +0300 From: Daniel Blaukopf daniel.blauk...@oracle.com Organization: Oracle Corporation To: Tom Schindl

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: 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: Disabling JavaFX minimise/maximise/etc buttons

2013-07-24 Thread Tom Schindl
as a button on the window decoration (not familiar with the term trim button). Other than that, I'd also like the ability to minimize a modal dialog if that actually minimizes the main window... It is not common on Windows but makes a lot of sense. Werner On 23.07.2013 23:18, Tom Schindl wrote

Re: Drag and drop tabs in TabPane

2013-07-24 Thread Tom Schindl
I have on the very top of my contribution list for new features, so i'll take a first look on it in the weeks although i know it is too late for fx8 :-) Tom Von meinem iPhone gesendet Am 24.07.2013 um 22:02 schrieb Jonathan Giles jonathan.gi...@oracle.com: At present there are no plans to

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

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
https://javafx-jira.kenai.com/browse/RT-32123 Tom On 05.08.13 15:07, Pavel Safrata wrote: Hi Tom, this is definitely a bug, clip node has to be synced automatically. Would you please file a Jira issue? Thanks, Pavel On 5.8.2013 13:55, Tom Schindl wrote: Hi, I've been hunting a bug

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

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

Description of Mouse enter/exit handling is not specific enough

2013-08-12 Thread Tom Schindl
Hi, I've been looking at how the mouse enter/exit is handled in JavaFX - which is different in how it works in Swing/SWT and so I looked at the documentation on MouseEvent which says the following: -8- When mouse enters a node, the node gets MOUSE_ENTERED event, when it leaves,

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

JavaFX on rPi iOS with RoboVM

2013-10-30 Thread Tom Schindl
Hi, I've been working on some samples for my presentation at EclipseCon Europe and wanted share my findings. 1. rpi (opendjk b113) - As a demo i used Gerrit Grunwalds imagerollover [1] which in principle works great but at a certain point crashes with an exception so

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: enterNestedEventLoop as public API?

2013-11-13 Thread Tom Schindl
What bothers me with the API as it is today is that I have call enter/exit, I would find it more easy to work with an API like: ---8--- WaitCondition c = new WaitCondition(); Dialog d = new Dialog() { public void onClose() { c.release(); } } Platform.spinNestedEventLoop(c);

Re: enterNestedEventLoop as public API?

2013-11-13 Thread Tom Schindl
() { public void onClose() { Platform.exitNestedEventLoop(); } } Platform.enterNestedEventLoop(); Steve On 2013-11-13 5:28 AM, Tom Schindl wrote: What bothers me with the API as it is today is that I have call enter/exit, I would find it more easy to work with an API like

Compiling jfx78 backport for iOS

2013-11-19 Thread Tom Schindl
Hi, I'm failing to jfx78 backport. I'm executing the following command: gradle --debug -PCOMPILE_TARGETS=ios -PUSE_LIPO=true -PGENERATE_SYMBOLS=true -PBUILD_IOS_TOOLS=false -PIOS_VERSION=7.0 clean sdk Below is the log. I'm not sure but my guess is that the error comes from: 01:21:42.353

libjfxmedia.a libextensions_ios.a

2013-11-19 Thread Tom Schindl
Hi, In case I try to link both of them into my application. I get duplicate symbol errors: [exec] duplicate symbol _OBJC_IVAR_$_IPodAccess.query in: [exec] /Users/tomschindl/git/ece_2013/iFondApp/robovm-build/jfx78/libextensions_ios.a(iPodAccess.obj) [exec]

Re: Scene Builder is now open source!

2013-12-03 Thread Tom Schindl
Amazing News! Von meinem iPhone gesendet Am 03.12.2013 um 16:04 schrieb Simon Vienot simon.vie...@oracle.com: Hello OpenJFXers ! We're very happy to announce that Scene Builder is now open source, as a part of the OpenJFX project. The whole Scene Builder functionality is available,

Re: 8 review request: RT-34389: [doc] cssref.html copyright is incorrect

2013-12-07 Thread Tom Schindl
Hi Kevin, I checked the file at http://cr.openjdk.java.net/~kcr/RT-34389/javafx-samples-8.0.0-ea/src/Ensemble8/cssref/cssref.html and this is what I would expect to get! Tom On 07.12.13 18:41, Kevin Rushforth wrote: David, Please review the following:

Re: Reloading stylesheets

2013-12-10 Thread Tom Schindl
That doesn't work in 2.x because the CSS is cached on a scene base! A trick that could work is to load the CSS with an URL like this like: my.css?timestamp=123456789 but I have not tried that and don't know if this would work. Tom On 10.12.13 13:41, Scott Palmer wrote: Have you tried simply

Re: Reloading stylesheets

2013-12-10 Thread Tom Schindl
mode only) but I don't have time to do this now. Previously you said that reloading is not needed on FX8... does this work out of the box then? Werner On 10.12.2013 14:10, Tom Schindl wrote: My code does: // Force CSS-Reloading if( isJavaFX2() ) { ReflectiveInvoke.onStyleManagerClass

JavaFX JavaDoc and IDEs

2013-12-17 Thread Tom Schindl
Hi, I can't speak for Netbeans and IntelliJ but now that JavaFX ships the source with the JDK and Eclipse recgonizes this there's a small problem with the way JavaFX is using JavaDoc. Take for example Window#onCloseRequest /** * Called when there is an external request to close this

Re: JavaFX JavaDoc and IDEs

2013-12-17 Thread Tom Schindl
, among other things, in JDK 8 so we no longer have a custom doclet for FX. -- Kevin Tom Schindl wrote: Hi, I can't speak for Netbeans and IntelliJ but now that JavaFX ships the source with the JDK and Eclipse recgonizes this there's a small problem with the way JavaFX is using JavaDoc

Re: JavaFX JavaDoc and IDEs

2013-12-18 Thread Tom Schindl
is the JDK JIRA for this (first introduced in 7u6...I hadn't remembered it was that early): https://bugs.openjdk.java.net/browse/JDK-7112427 And here is the JDK 8 changeset that implements it: http://hg.openjdk.java.net/jdk8/jdk8/langtools/rev/ccbe7ffdd867 -- Kevin Tom Schindl wrote

Font.font() says it is point size but it looks like it are pixels

2013-12-23 Thread Tom Schindl
Hi, The JavaDoc of Font.font says: -8- size - The point size of the font. This can be a fractional value, but must not be negative. If the size is 0 the default size will be used. -8- I highly doubt this is correct (see attached picture from Linux where you see native, qt and

Re: custom FXML builders in SceneBuilder

2014-01-03 Thread Tom Schindl
IIRC we agreed while talking about the annotation replacement for builders that we'll later add a possibility to set a converter on properties through annotations - back then we only talked about constructors but this could be expanded to any property. Tom On 03.01.14 12:12, Tom Eugelink wrote:

Re: Android Port: Next Steps

2014-01-09 Thread Tom Schindl
Have you managed to get an JavaFX running on the emulator. I've tested with one of ours and while it works great on the real device. It crashes in the emulator. V/GLASS ( 1121): JNI call notifyViewEvent to lensView 0x1d30041a W/System.err( 1121): java.lang.UnsupportedOperationException: Pixel

Re: OpenGL on Windows

2014-01-14 Thread Tom Schindl
Would it be better to work on a jogl prism pipeline itself? Tom Von meinem iPhone gesendet Am 14.01.2014 um 16:15 schrieb Stephen F Northover steve.x.northo...@oracle.com: It should all just work. The first step is to go and build OpenJFX. If something doesn't work, we can help you

Re: [8u] API Request: RT-25613, ObservableValue should have a hasListener(listener) method

2014-01-22 Thread Tom Schindl
On 22.01.14 11:07, Martin Sladecek wrote: Hi all, I would like to start discussion about an addition to API in Observable, ObservableValue and all Observable collections. There were multiple requests for a way how to avoid duplicates in listeners lists. The way RT-25613 solves this is that it

Re: [8u] API Request: RT-25613, ObservableValue should have a hasListener(listener) method

2014-01-22 Thread Tom Schindl
[...] Actually even when you would rely on the order, in situations when you call ensureListener, you don't really know if the listener is already there. So you might really expect that listener would be added at this point as the last. It's just that will always be the outcome if the

Re: -fx-background

2014-02-18 Thread Tom Schindl
Right - this would help tools as well because currently it is a bit hard to identify them - problem is that current names can not be changed. At least having a (structured) documentation above variables would certainly help! Tom On 19.02.14 01:18, Pedro Duque Vieira wrote: I found out what it

Re: hg: openjfx/8u-dev/rt: RT-34472 Add annotation processor for @FXML annotation

2014-02-25 Thread Tom Schindl
Can you make the bug public? Tom On 25.02.14 12:48, hang...@oracle.com wrote: Changeset: 876e334f748a Author:Martin Sladecek martin.slade...@oracle.com Date: 2014-02-25 12:41 +0100 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/876e334f748a RT-34472 Add annotation

Re: CSS Font size in points doesn't match Node.Font.Size

2014-03-04 Thread Tom Schindl
There was a thread some time ago on this List with explainations of this behavior! Tom Von meinem iPhone gesendet Am 05.03.2014 um 01:03 schrieb Jeff Martin j...@reportmill.com: I can't quite wrap my head around why when I specify an -fx-font-size of 9pt in CSS, it turns into a 12 pt

Re: CSS Font size in points doesn't match Node.Font.Size

2014-03-05 Thread Tom Schindl
From my tests the font size generated by CSS is what one gets with the same point size and font using native apps and Qt - my complaint was the font size when using the Java API. Tom Von meinem iPhone gesendet Am 05.03.2014 um 23:03 schrieb Felipe Heidrich felipe.heidr...@oracle.com:

Opacity in Image.getPixelReader.getColor()

2014-03-16 Thread Tom Schindl
Hi, Maybe I'm completely wrong but to me it looks like the opacity I get from Image.getPixelReader.getColor() is wrong. If not mistaken the relation between alpha and opacity is expressed with: opacity = (255 - alpha) / 255.0 which means: opacity 0 = alpha 255 opacity 1 = alpha 0 Running the

Re: Opacity in Image.getPixelReader.getColor()

2014-03-17 Thread Tom Schindl
: My understanding is alpha and opacity are same just different range. Opacity is 0.0 to 1.0 Alpha is 0 to 255 Jim or Kevin will be authority on this. Jasper On Mar 16, 2014, at 5:55 AM, Tom Schindl tom.schi...@bestsolution.at wrote: Hi, Maybe I'm completely wrong but to me it looks like

Proposal on getting warning free (controls) packages

2014-03-20 Thread Tom Schindl
Hi, I've just started looking into getting the controls package warning free and/or suppress them in case not fixable. Most of the generic warnings I've come accross in a first pass involve StyleableProperty cast like this: ((StyleableProperty)graphicProperty()).applyStyle(origin, null); In

Re: Lambda Lambda

2014-03-20 Thread Tom Schindl
If I do that in eclipse and hover it I see it still attaches a InvalidationListener! To me it looks like the compiler does not care about what you are trying to tell him because this syntax does only have a meaning on methods who don't declare a generic type in its signature! Tom On 20.03.14

Re: *PropertyBase vs Simple*Property

2014-03-21 Thread Tom Schindl
Hi Richard, Coming back to this old thread and now that we are using lamdas all over I guess we could take one more look into that. I've prototyped an initial version by introducing a new internal type named InvalidatedSimpleObjectProperty (not the best name ever!) - see code pasted below. And

Re: *PropertyBase vs Simple*Property

2014-03-22 Thread Tom Schindl
Why not i expect the property to be fully initialize so this would be a breaking change in behavior. Tom Von meinem iPhone gesendet Am 22.03.2014 um 14:54 schrieb Tomas Mikula tomas.mik...@gmail.com: On Fri, Mar 21, 2014 at 8:53 PM, Tom Schindl tom.schi...@bestsolution.at wrote: Hi

Re: *PropertyBase vs Simple*Property

2014-03-22 Thread Tom Schindl
Ah i missed you passing them to the constructor. Still i don't see this as much an improvement because we still create a vast amount of anon inner classes. Tom Von meinem iPhone gesendet Am 22.03.2014 um 16:23 schrieb Tom Schindl tom.schi...@bestsolution.at: Why not i expect the property

Re: *PropertyBase vs Simple*Property

2014-03-24 Thread Tom Schindl
should make this (massive) change before we lambda graphics and controls? Probably doesn't matter. We'll need a JIRA and someone assigned to it in order to track the work. Steve On 2014-03-21 12:53 PM, Tom Schindl wrote: Hi Richard, Coming back to this old thread and now that we are using

Re: *PropertyBase vs Simple*Property

2014-03-24 Thread Tom Schindl
comparison with the only difference being a Lambda versus an equivalent anonymous inner class? -- Kevin Tom Schindl wrote: Hi, I've written a small sample to see what it gets me to check: * creation overhead * memory overhead * call overhead I'm not very good at this kind of thing so

Re: *PropertyBase vs Simple*Property

2014-03-24 Thread Tom Schindl
()); } } } On 24.03.14 23:36, Tom Schindl wrote: The code I run is attached in the mail copy it to your env and run it and flip the testLambda from true to false. I might have been something dumb wrong but this is what I came up with. Tom On 24.03.14 23:31, Kevin

Re: *PropertyBase vs Simple*Property

2014-03-24 Thread Tom Schindl
Arghhh time for bed: Number is 179 vs 150 but I only ran it once so the numbers might be completely bogus! Tom On 24.03.14 23:40, Tom Schindl wrote: Ups there was an error in my test for the last Call line so the numbers there are: 38 (lambda) vs 32 (subclass) package hello; import

Why is com.sun.glass.ui.swt part of graphics-module

2014-04-02 Thread Tom Schindl
Hi Steve others, Why is com.sun.glass.ui.swt part of the graphics module? Should it go into the swt one? I think it should be shipped with swtfx.jar not else we get back to classloader hell because the extension classloader tries to load classes from swt which it naturally can not find. Tom

Re: Fractional Metrics

2014-04-04 Thread Tom Schindl
If you don't mind using internal APIs then: TextLayoutFactory factory = Toolkit.getToolkit().getTextLayoutFactory(); TextLayout layout = factory.createLayout(); layout.setContent(BlaBla, Font.getDefault().impl_getNativeFont()); BaseBounds b = layout.getBounds(); I find it strange the canvas

Re: JavaFX 2 + with LWJGL ( OpenGL )

2014-04-06 Thread Tom Schindl
There is a talk from Felipe and Steve at J1 last year how to embed OpenGL into FX using *internal* API! Search for it on parleys - this does not help you on Win32 which uses directx instead of javafx. BTW there are people doing a JOGL pipeline

Re: JavaFX 2 + with LWJGL ( OpenGL )

2014-04-06 Thread Tom Schindl
APIs. And it doesn't matter what Windows OS you're using. I have tested this out from Windows XP all the way to Windows 7 - 32/64 Bit with no problem. Cheers Torak On Sun, Apr 6, 2014 at 11:52 AM, Tom Schindl tom.schi...@bestsolution.atwrote: There is a talk from Felipe and Steve

Re: JavaFX 2 + with LWJGL ( OpenGL )

2014-04-06 Thread Tom Schindl
, and viola.. LWJGL with JavaFX. :) LINK : https://github.com/Spasi/LWJGL-FX So just wanted to post the link here and say thanks for all of your help. :) Cheers, Torak On Sun, Apr 6, 2014 at 12:35 PM, Tom Schindl tom.schi...@bestsolution.atwrote: JavaFX does not ship OpenGL binaries

Setup IDE for development instructions

2014-04-24 Thread Tom Schindl
Hi, I try to follow the guide at https://wiki.openjdk.java.net/display/OpenJFX/Using+an+IDE to setup my Eclipse workspace but the description how to preconfigure the JDK is a ambiguous. The ambiguous information is the cd PATH TO JFX which could me (I take my OS-X install as the reference) * cd

Re: Setup IDE for development instructions

2014-04-24 Thread Tom Schindl
needs swt-debug.jar in the library path * scenebuilder needs to reference all projects but not rt-project Tom On 24.04.14 22:29, Tom Schindl wrote: Hi, I try to follow the guide at https://wiki.openjdk.java.net/display/OpenJFX/Using+an+IDE to setup my Eclipse workspace but the description

Re: Setup IDE for development instructions

2014-04-24 Thread Tom Schindl
Hi, I once built with gradle sdk maybe that was wrong? Tom On 24.04.14 23:37, Stephen F Northover wrote: Did you build once outside the IDE? Type gradle in the rt directory. Steve On 2014-04-24 5:28 PM, Tom Schindl wrote: More stuff that does not work. If you import the projects you

Re: Why can Scene's only be constructed on the UI thread?

2014-04-26 Thread Tom Schindl
On 26.04.14 11:42, Mike Hearn wrote: I'm trying (mostly in vain) to optimise the startup time of my app. It takes about a second to build the main GUI via FXMLLoader.load() - probably because the GUI is getting a little bit complex but I think mostly because it's all running interpreted, as

Re: Why can Scene's only be constructed on the UI thread?

2014-04-26 Thread Tom Schindl
If you don't use Tooltips context menus you can construct the scenegraph in any thread. Tom Von meinem iPhone gesendet Am 26.04.2014 um 21:48 schrieb Tony Anecito adanec...@yahoo.com: Hi Tom this is also true for Swing and the EDT. I had heard years ago jre 8 was going to address this

Re: Why can Scene's only be constructed on the UI thread?

2014-04-27 Thread Tom Schindl
tooltips and context menus matter? Is it because they will later be instantiated on the wrong thread when they pop up? On 27 Apr 2014, at 7:04, Tom Schindl tom.schi...@bestsolution.at wrote: If you don't use Tooltips context menus you can construct the scenegraph in any thread. Tom Von

Re: Setup IDE for development instructions

2014-04-28 Thread Tom Schindl
: The default task in build.gradle is sdk so gradle and gradle sdk are equivalent. -- Kevin Tom Schindl wrote: Hi, I once built with gradle sdk maybe that was wrong? Tom On 24.04.14 23:37, Stephen F Northover wrote: Did you build once outside the IDE? Type gradle in the rt directory. Steve

Re: Cleaning up Control codebase - How to deal with StyleableProperty cast

2014-04-30 Thread Tom Schindl
' is significant? I honestly don't know -- Jonathan On 29/04/2014 9:57 a.m., Tom Schindl wrote: Hi, Interesting is that only the Eclipse Java Compiler shows a warning. javac is fine with original code. Let me see what the Eclipse compiler guys have to say about that! Tom On 28.04.14

Re: Cleaning up Control codebase - How to deal with StyleableProperty cast

2014-04-30 Thread Tom Schindl
Hi, On 29.04.14 14:35, David Grieve wrote: I've found that this works: final StyleableBooleanProperty prop = (StyleableBooleanProperty)focusTraversableProperty(); Right i can confirm that. The problem is that we are then relying even more on the fact the upstream code does not

Re: Cleaning up Control codebase - How to deal with StyleableProperty cast

2014-05-01 Thread Tom Schindl
, Tom Schindl wrote: Hi, On 29.04.14 14:35, David Grieve wrote: I've found that this works: final StyleableBooleanProperty prop = (StyleableBooleanProperty)focusTraversableProperty(); Right i can confirm that. The problem is that we are then relying even more on the fact

Re: Cleaning up Control codebase - How to deal with StyleableProperty cast

2014-05-02 Thread Tom Schindl
warnings far more obvious to me, so I'll be trying to keep on top of them also. -- Jonathan On 29/04/2014 9:33 a.m., Tom Schindl wrote: Hi, I've been cleaning up the warnings inside the controls code base and one of the warnings left (beside many generic problems in the *View-classes

  1   2   3   4   >