Ability to decorate ChangeListener

2014-03-21 Thread Mario Ivankovits
Hi! In one of my ObservableValue implementations I do have the need to decorate ChangeListener added to it. Today this is somewhat complicated to implement, as I have to keep a map of the original listener to the decorated one to being able to handle the removal process of a listener. Because

Re: Ability to decorate ChangeListener

2014-03-22 Thread Mario Ivankovits
); // ... sub.unsubscribe(); Of course this is not possible if you need to pass the observable value to the outside world as ObservableValue. Regards, Tomas On Sat, Mar 22, 2014 at 6:57 AM, Mario Ivankovits ma...@datenwort.at wrote: Hi! In one of my ObservableValue implementations

Re: Ability to decorate ChangeListener

2014-03-22 Thread Mario Ivankovits
(). In your own app it may not matter, but it is dangerous to assume it won't matter to anyone. Martin owns the core libraries and can comment further. -- Kevin Mario Ivankovits wrote: Hi Thomas! Thanks for your input. Because I want to decorated listeners added by JavaFX core I can not use the sub

Re: Ability to decorate ChangeListener

2014-03-22 Thread Mario Ivankovits
this is already illegal Anyway, let's see what Martin has to say. In the mean time you file a JIRA enhancement request (issuetype=Tweak) if you like. -- Kevin Mario Ivankovits wrote: The only thing which I ask for is to flip this „if in the *ExpressionHelper classes: So, JavaFX does not break anything

Re: Ability to decorate ChangeListener

2014-03-22 Thread Mario Ivankovits
if your proposal is accepted: (+) your equals() stays symmetric; (+) you don't depend on an implementation detail in JavaFX. Best, Tomas On Sat, Mar 22, 2014 at 3:47 PM, Mario Ivankovits ma...@datenwort.atmailto:ma...@datenwort.at wrote: The only thing which I ask for is to flip

Re: Ability to decorate ChangeListener

2014-03-24 Thread Mario Ivankovits
happen that the code would be changed / re-factored in the future or some bug would be fixed there and behaviour will change again, breaking your application in some future JFX version. Regards, -Martin On 22.3.2014 15:47, Mario Ivankovits wrote: The only thing which I ask

Re: Ability to decorate ChangeListener

2014-03-24 Thread Mario Ivankovits
Am 24.03.2014 um 15:36 schrieb Martin Sladecek martin.slade...@oracle.com: On 24.3.2014 15:24, Mario Ivankovits wrote: But, after this discussion I do not see why one ever used .equals() at all. Look, it does not fit my needs, I do not see any use-case where one would add

outstanding resource locks

2014-09-01 Thread Mario Ivankovits
Hi! Is there anything further I can do to see which resources are locked so I can see if this is my fault and to release them properly? How to interpret this output? Thanks for any info. Outstanding resource locks detected: ES2 Vram Pool: 76.571.592 used (28,5%), 76.571.592 managed

IOOB and null values in ComboBox

2014-09-05 Thread Mario Ivankovits
Hi! Hi! I am having a list of ComboBox entries where the first entry often is „null“, which means e.g. ALL Now, with 8u40-b04 I am getting IOOB exception when I select a null value in any ComboBox. I tracked it down to ComboBoxListViewSkin.updateValue where the list of selections is cleared

NPE in VirtualFlow

2014-12-26 Thread Mario Ivankovits
Hi! Every now and then I get the exception down there (starting with JavaFX 8u40-b18 if I remember correctly) It seems it has something to to with the fact that the items list of one of my TableViews gets cleared and so no cells are visible any more. I was not yet able to always reproduce

Re: NPE in VirtualFlow

2015-01-02 Thread Mario Ivankovits
/OpenJFX/Submitting+a+Bug+Report Thanks, - Chien On 12/26/2014 1:30 AM, Mario Ivankovits wrote: Hi! Every now and then I get the exception down there (starting with JavaFX 8u40-b18 if I remember correctly) It seems it has something to to with the fact that the items list of one of my TableViews gets

Re: Building OpenJFX 9 with OpenJDK 9+181

2017-10-10 Thread Mario Ivankovits
Hi! I had the same problems when I tried to build JavaFX for the Raspberry PI this weekend. I „fixed" that by adding the —add-exports to the build.gradle file. The Google Drive Link will guide you to a hacky patch to the build.gradle file (+ some other changes). I was able to build JavaFX

Re: Draft JEP for new Packaging Tool (replacement for javapackager)

2018-06-03 Thread Mario Ivankovits
A preloader/splash-screen will/should also hide the JVM startup time. Best regards, Mario > Am 03.06.2018 um 09:57 schrieb Tom Schindl : > > On 01.06.18 19:42, Johan Vos wrote: >> I'm not saying a preloader is really a requirement, but I know of a few >> applications that are using it and

Re: Draft JEP for new Packaging Tool (replacement for javapackager)

2018-06-05 Thread Mario Ivankovits
Hi! Just for the records: My test included the JVM startup time. Yours start counting in main() where the JVM is already up - and probably some of the classpath scanning already took place because of the inheritance from „javafx.application.Application“ . Your test shows „showing: 298 shown:

Re: Draft JEP for new Packaging Tool (replacement for javapackager)

2018-06-04 Thread Mario Ivankovits
Hi! I’ve just test with this very small JavaFX Application: public class TstFx extends Application { @Override public void start(Stage primaryStage) throws Exception { Label root = new Label("test"); Scene scene = new Scene(root, 800, 600);

Re: modules versus SDK's

2018-03-26 Thread Mario Ivankovits
+1 on providing JavaFX as „simple“ dependency. Question is how to deal with the native libraries. Provide an artifact per platform? compile: 'javafx:javax.graphics-osx:11.0.0' compile: 'javafx:javax.graphics-win:11.0.0' compile: 'javafx:javax.graphics-pi:11.0.0‘ These bundles might just