在jmeter.bat中添加參數:
set JVM_ARGS=%JVM_ARGS% -Dswing.plaf.metal.controlFont=Dialog-15
set JVM_ARGS=%JVM_ARGS% -Dswing.plaf.metal.systemFont=Dialog-15
set JVM_ARGS=%JVM_ARGS% -Dswing.plaf.metal.userFont=SansSerif-15
set JVM_ARGS=%JVM_ARGS% -Dswing.plaf.metal.smallFont=SansSerif-15
在jmeter.properties中修改BeanShell字體
jsyntaxtextarea.font.family=Hack
jsyntaxtextarea.font.size=15