Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #14294

Re: JavaFX Slider compile time error

From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: JavaFX Slider compile time error
Date 2012-05-05 14:16 -0700
Organization A noiseless patient Spider
Message-ID <jo45bs$h2e$1@dont-email.me> (permalink)
References <4fa58b39$0$41612$c3e8da3$3a1a2348@news.astraweb.com>

Show all headers | View raw


On 5/5/2012 1:19 PM, Hiram Hunt wrote:

>                           .prefWidth(100.0)
>                           .build();


::prefWidth() is declared in the BuildControl<B> class, and has as Lief 
pointed out a generic return type.   Its ::create() factory method does 
return a type of SliderBuilder<?>, so that might be your best best for 
your variable sliderBuilder.

If that doesn't work, try SliderBuilder<SliderBuilder> as the type of 
sliderBulder.  It seems to be to fit more closely with the declared 
intent (bound) of the type parameter.



Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

JavaFX Slider compile time error "Hiram Hunt" <hiramhunt@verizon.net> - 2012-05-05 16:19 -0400
  Re: JavaFX Slider compile time error Leif Roar Moldskred <leifm@dimnakorr.com> - 2012-05-05 15:32 -0500
    Re: JavaFX Slider compile time error "Hiram Hunt" <hiramhunt@verizon.net> - 2012-05-05 17:53 -0400
      Re: JavaFX Slider compile time error Lew <noone@lewscanon.com> - 2012-05-05 21:03 -0700
        Re: JavaFX Slider compile time error Lew <noone@lewscanon.com> - 2012-05-05 21:09 -0700
  Re: JavaFX Slider compile time error markspace <-@.> - 2012-05-05 14:16 -0700

csiph-web