You can change it in Run Configurations in Eclipse:
Run -> Run Configurations -> Java Applet -> New Configuration
. the default size can be changed in the Parameters tab.
Note that this is only for testing and the actual applet your user sees is depends on how the applet is launched for them (Which is done typically via a <applet>
, <object>
or <embed>
tags in a webpage. all of these tags support size attributes.)