That’s right; you’ll want to strip the title bar and window borders from your original window too. You’ll probably need something closer to the first code I posted above for that, referencing the window you open in your client startup script:
from javax.swing import JFrame
hostNames = ["HostNameThisAppliesTo","AnotherHostNameThisAppliesTo"]
if system.net.getHostName() in hostNames:
# Setup initial desktop.
desktop = system.nav.openWindow("PathToWindow")
while not isinstance(desktop, JFrame):
desktop = desktop.getParent()
desktop.dispose()
desktop.setUndecorated(True)
desktop.setSize(1920,1080)
desktop.setLocation(0,0)
desktop.setVisible(True)
# Open and setup top right desktop.
windows = ["Main Windows/Main Window", "Navigation"]
desktop = system.gui.openDesktop(width=1920,height=1080,x=1920,y=0,windows=windows)
desktop.dispose()
desktop.setUndecorated(True)
desktop.setVisible(True)
# Add additional desktops with desired windows, size, and location...