Java applet does not display anything

前端 未结 5 691
无人及你
无人及你 2021-01-19 03:06

Does anyone know why my Java applet does not display anything?

This is my first Java applet so I am new to creating one. I researched this problem and haven\'t found

5条回答
  •  爱一瞬间的悲伤
    2021-01-19 03:56

    Typically, you define an init() method and add initialize some GUI components inside of it. I wouldn't override paint(). I'm not sure what exactly that would do.

提交回复
热议问题