3

My Swing application uses JFrames. When one of the JFrames is dragged to a second monitor and the maximize button is pressed, it maximizes itself to the size of the (smaller) primary monitor. Can that behavior be fixed?

tbeernot
  • 2,473
  • 4
  • 24
  • 31
  • 1
    This sounds like a problem with your operating system settings. Being able to maximize a JFrame to multiple different monitors is a standard ability. – jzd Nov 10 '11 at 15:55
  • I have just tried this and it works fine. I think @jzd is right: something is wrong in your environment. – AlexR Nov 10 '11 at 16:18
  • Chances are it is the videodriver somehow. Thanks for verifying. I'll run some tests. – tbeernot Nov 11 '11 at 15:19
  • ATI video driver updated. Created a test JFrame (completely vanilla) but with no change. Swapped primary and secondary monitor; the JFrame always maximizes correctly on the primary monitor. Tested using Java 1.7.0_01 and 1.6.0_14. – tbeernot Nov 14 '11 at 12:12

0 Answers0