2012-08-30 119 views

回答

88

尝试

TableView tb = (TableView) scene.lookup("#history"); 
+4

需要一个英镑符号查找一个id时。所以它应该看起来像这样:scene.lookup(“#history”); –

+1

@Orbiting伊甸园你是正确的.. – AJJ

+2

@Uluk比你可以更新你的答案作为TableView tb =(TableView)scene.lookup(“#history”);以便其他人通过看到答案很容易理解。谢谢。 – AJJ

相关问题