Convert DesktopArea to Scala