解决方案 »

  1.   

    第一次见到 java 有 -> 符号的
    你那个 node 是个这么定义的?还是系统自己的?
      

  2.   

    开玩笑吧,Java有->,这不是c++中的指针么?
      

  3.   

    难道这是jdk8的新特性?
    想下个jdk8,就是进不去!
      

  4.   

    还有这样的,啥也没定义,也没有用到:replaceFakeWithSource.setOnFinished(e->{
                final Point2D position = treeGenerator.content.sceneToLocal(sourceEllipse.localToScene(0,0));
                DoubleBinding sinPath = new DoubleBinding(){
                    {
                        bind(fake.translateYProperty());
                    }
                    
                    @Override
                    protected double computeValue(){
                        return 50*sin((fake.translateYProperty().doubleValue() - position.getY())/20);
                    }
                };
      

  5.   

    jdk8官方下载:
    http://www.oracle.com/technetwork/java/javase/downloads/index.html