# Run 4 Ignition Desktops on 4k Diplay

**URL:** <https://forum.inductiveautomation.com/t/run-4-ignition-desktops-on-4k-diplay/37387>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [August 4, 2020, 8:34pm UTC](https://forum.inductiveautomation.com/t/run-4-ignition-desktops-on-4k-diplay/37387 "2020-08-04T20:34:25Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [August 5, 2020, 1:44pm UTC](https://forum.inductiveautomation.com/t/run-4-ignition-desktops-on-4k-diplay/37387/10 "2020-08-05T13:44:58Z")

</div>

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:

```auto
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...

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/run-4-ignition-desktops-on-4k-diplay/37387)._
