Using large txt files in JavaFX(TextArea alternatives?)

前端 未结 2 945
陌清茗
陌清茗 2020-12-19 11:50

I created a simple GUI where I have a TextArea. The TextArea itself will be populated by an Array, which contains scanned Strings out

2条回答
  •  我在风中等你
    2020-12-19 12:16

    Thanks to @SedrickJefferson I replaced the TextArea with a ListView. It runs very smooth now. Besides that I will replace the Scanner with a BufferedReader, due to performance issues.

提交回复
热议问题