I keep thinking we need to fix the disableProperty / disabledProperty mess, so
I have created a Jira issue, which I hope you will all vote for:
Please see the description below
Randahl
———
From https://javafx-jira.kenai.com/browse/RT-35349
I know I am late to the game with this request, but p
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. this
ple : performance. You usually
> don't (try to) add a listener twice, so in most cases it doesn't make sense
> to check for duplicates every time a listener is added. So we currently leave
> the burden of avoiding duplicates on the developer.
>
> -Martin
>
> On
I respect your point of view. Thank you for a thorough response.
Randahl
On 22 Jan 2014, at 12:18, Martin Sladecek wrote:
> On 01/22/2014 11:38 AM, Randahl Fink Isaksen wrote:
>> Hi Martin
>>
>> Then I respectfully disagree with this design decision. In my point
bscriber(observable,
> listener);
>
> subscriber.subscribe(); // registers the listener
> subscriber.subscribe(); // no-op
>
> Cheers,
> Tomas
>
> [1] https://gist.github.com/TomasMikula/8557825
>
> On Wed, Jan 22, 2014 at 11:23 AM, Randahl Fink Isaksen
> wrote:
> subscriber.subscribe(); // registers the listener
> subscriber.subscribe(); // no-op
>
> Cheers,
> Tomas
>
> [1] https://gist.github.com/TomasMikula/8557825
>
> On Wed, Jan 22, 2014 at 11:23 AM, Randahl Fink Isaksen
> wrote:
> Hi Martin
>
> While I ag
us about is this
>
> "We still wanted to listen to a property of the spaceship, but now it was no
> longer part of the group."
>
> Why would you want to keep listening to that spaceship after removal from the
> group?
>
> Regards,
> Tomas
>
>
&
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 y
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 m
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 s
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, that
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 off
achieved by
>
>button.setOnAction(event -> button.setValue(!button.getValue()));
>
> Best,
> Tomas
>
> On Fri, Sep 12, 2014 at 1:08 PM, Martin Sladecek
> wrote:
>> Hi Randahl,
>> why don't you use bidirectional binding for this purpose?
>>
>&
Could you provide a screen shot?
R.
On 19 Sep 2014, at 12:07, Fabrizio Giudici
wrote:
> On Tue, 16 Sep 2014 11:55:26 +0200, Fabrizio Giudici
> wrote:
>
>> Hello.
>>
>> A customer submitted me a problem concerning a Java WebStart applet made
>> with JavaFX (JDK 1.7.0_45): the thing works,
14 matches
Mail list logo