Check for headless mode when calculating the scroll mode for menus
Check for headless mode when calculating the scroll mode for menus

This is related to r1818946, which makes some tests available in non gui mode.

Bugzilla Id: 61919 and relates to #363 on github


git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1819033 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: a859140c24b377111dce2de810f955d3d4d34167
etnetera/jmeter,ham1/jmeter,benbenw/jmeter,apache/jmeter,etnetera/jmeter,benbenw/jmeter,benbenw/jmeter,ham1/jmeter,ham1/jmeter,apache/jmeter,apache/jmeter,ham1/jmeter,apache/jmeter,benbenw/jmeter,apache/jmeter,etnetera/jmeter,ham1/jmeter,etnetera/jmeter,etnetera/jmeter