Java Applet Windows size in Eclipse

后端 未结 3 628
遇见更好的自我
遇见更好的自我 2021-01-14 15:20

I am trying to set the size of an Applet Window to 500 by 500, but I couldn\'t be able to achieve that. Here is my code,

  public void init() { 
    // Start         


        
3条回答
  •  爱一瞬间的悲伤
    2021-01-14 15:42

    If you use eclipse, you can change applet size from the "run configuration" Java Applet->Parameters". I think that's the problem, because the default value of java applet size in eclipse is 200*200.

    Hope it will helpful: a similar issue

提交回复
热议问题