Re: JavaFX (1.7.0_45) and Applet: problem with layout

2014-09-19 Thread Randahl Fink Isaksen
Could you provide a screen shot? R. On 19 Sep 2014, at 12:07, Fabrizio Giudici fabrizio.giud...@tidalwave.it wrote: On Tue, 16 Sep 2014 11:55:26 +0200, Fabrizio Giudici fabrizio.giud...@tidalwave.it wrote: Hello. A customer submitted me a problem concerning a Java WebStart applet made

Does JavaFX lack a public Property.getObservable() method?

2014-09-12 Thread Randahl Fink Isaksen
I have noticed the lack of a getObservable() method of the property class, and I have come across a use case which might justify such a method, so I would like to discuss whether posting a new Jira issue for this is justified. I have implemented a simple toggle button with two states, on and

Re: Does JavaFX lack a public Property.getObservable() method?

2014-09-12 Thread Randahl Fink Isaksen
, Sep 12, 2014 at 1:08 PM, Martin Sladecek martin.slade...@oracle.com wrote: Hi Randahl, why don't you use bidirectional binding for this purpose? -Martin On 09/12/2014 01:04 PM, Randahl Fink Isaksen wrote: I have noticed the lack of a getObservable() method of the property class

Is JavaFX keyboard event handling too rigid?

2014-06-13 Thread Randahl Fink Isaksen
I have noticed that quite many developers are having trouble avoiding triggering of focus navigation occurring when a user presses the UP and DOWN arrow keys. From a number of different forum posts I have seen how people are jumping through hoops to avoid this. I myself have the challenge,

Double skin addition

2014-06-11 Thread Randahl Fink Isaksen
I have noticed that if I create a skin which adds a label like this public MySkin(MyControl control) { super(control); pane.getChildren().add(label); getChildren().add(pane); } the label is actually added twice in my application. I

New skinning in FX8 – where do the style classes go

2014-06-10 Thread Randahl Fink Isaksen
Hi everybody I am a bit puzzled by the changes to the Skinnable API. With FX2 I created a couple of SkinBase based skins, and back then SkinBase was a descendant of Control. So I had Control ◀︎—— SkinBase ◀︎—— MySkin Now SkinBase is just a descendant of Object, which means I need to rewrite

Backwards compatibility broken: Why was Color made final

2014-03-19 Thread Randahl Fink Isaksen
After upgrading to FX8, the framework I have been developing since the early access release of JavaFX three years ago is now broken. My framework has some really cool features for working with color, which relies on our own class PaletteColor which extends javafx.scene.paint.Color. Why would

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

2014-01-22 Thread Randahl Fink Isaksen
Hi Martin While I agree your proposed solution would work, I still don’t understand why JavaFX should keep on supporting duplicates in listener collections. Can anyone come up with just 1 example of an application that might be depending on having two listeners on the same Observable? E.g.

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

2014-01-22 Thread Randahl Fink Isaksen
, Randahl Fink Isaksen wrote: Hi Martin While I agree your proposed solution would work, I still don’t understand why JavaFX should keep on supporting duplicates in listener collections. Can anyone come up with just 1 example of an application that might be depending on having two