Search code examples
javaswingjpanelstretchmultiple-monitors

My Java Swing JPanel will only strech to the size of one monitor on a two monitor display


My JPanel will stretch between two monitors just fine, but will not stretch to the size of both monitors. It stops at the size of one monitor. How can I fix this?


Solution

  • I found out that JPanels will by default stretch across multiple monitors. There is something about the proprietary framework that my software runs on that is blocking that.