This method is deprecated now as it probably doesn't do what you think. Please use
setFixedSize or setDecoratedSize instead, depending on what you are trying to do.
This adds a runtime dependency to the java.desktop module which isn't declared in the module
descriptor of lanterna. If you want to call this method, make sure to add it to your module.
This adds a runtime dependency to the java.desktop module which isn't declared in the module
descriptor of lanterna. If you want to call this method, make sure to add it to your module.
It's preferred to use a custom background component if you want to customize the background color,
or you should change the theme. Using this constructor won't work well with theming.