What's the fastest way to draw a Hello World in Java

后端 未结 3 1918
别跟我提以往
别跟我提以往 2021-01-16 02:38

What\'s the fastest way to draw a Hello World on the screen using a GUI in Java:

1- by using the minimum number of classes.

2- with the leas

3条回答
  •  孤城傲影
    2021-01-16 03:17

    If you're optimizing for runtime then pre-render an image with the text "Helo World" and then use Java to display it as an image. You can use ImageIcon to easily display an image.

提交回复
热议问题