Dual Monitor Issue

Has anyone experienced any issues with a dual monitor setup?

My workstation crashed, and in the process of rebuilding I took the
opportunity to throw in a dual head capable Radeon card (with 2nd monitor).

IDEA appears to work fine, however when I try to debug or run a swing based
app via IDEA, the app just hangs (starts to construct a JFrame and just goes
south). IDEA is still responsive (i.e. I can stop the app). If I deploy the
app to the server and run it via Web Start, it comes up just fine.

If I shift the monitor setup to single monitor (i.e. set the 2nd monitor to
be a clone of the primary), IDEA runs the app just fine, however afterwards,
I cannot switch back to dual mode until after I shut down IDEA.

Does anyone have any ideas? I'm really liking this dual head setup, but if I
can't run/debug from IDEA it kind of defeats the purpose!

Thanks!

rob.


0
7 comments
Avatar
Permanently deleted user

Robert Hedin wrote:

Has anyone experienced any issues with a dual monitor setup?


We use dual head, for both server and swing development. Never had a
problem.

0
Avatar
Permanently deleted user

I use a dual monitor setup (one "monitor" is my laptop screen), and it
works well. There are occasional issues related to the fact that Swing
is not dual-monitor savvy (opening menus near the edge of one screen, etc.).

One thing to check is that the application hasn't really hung and has
instead opened a window off screen somewhere.

Robert Hedin wrote:

Has anyone experienced any issues with a dual monitor setup?


0
Avatar
Permanently deleted user

I appreciate the help!

Got it working-- we were building against JDK 1.4.0_02, when I shifted the
target JDK to 1.4.1_01, everything comes up just like it should.

thanks again

rob.

"Robert Hedin" <robert@ndsapps.com> wrote in message
news:arlsmm$vij$1@is.intellij.net...

Has anyone experienced any issues with a dual monitor setup?

>

My workstation crashed, and in the process of rebuilding I took the
opportunity to throw in a dual head capable Radeon card (with 2nd

monitor).
>

IDEA appears to work fine, however when I try to debug or run a swing

based

app via IDEA, the app just hangs (starts to construct a JFrame and just

goes

south). IDEA is still responsive (i.e. I can stop the app). If I deploy

the

app to the server and run it via Web Start, it comes up just fine.

>

If I shift the monitor setup to single monitor (i.e. set the 2nd monitor

to

be a clone of the primary), IDEA runs the app just fine, however

afterwards,

I cannot switch back to dual mode until after I shut down IDEA.

>

Does anyone have any ideas? I'm really liking this dual head setup, but if

I

can't run/debug from IDEA it kind of defeats the purpose!

>

Thanks!

>

rob.

>
>


0
Avatar
Permanently deleted user

Sorry - I've never had a problem with my dual-head setup.

"Robert Hedin" <robert@ndsapps.com> wrote in message
news:arlsmm$vij$1@is.intellij.net...

Has anyone experienced any issues with a dual monitor setup?

>

My workstation crashed, and in the process of rebuilding I took the
opportunity to throw in a dual head capable Radeon card (with 2nd

monitor).
>

IDEA appears to work fine, however when I try to debug or run a swing

based

app via IDEA, the app just hangs (starts to construct a JFrame and just

goes

south). IDEA is still responsive (i.e. I can stop the app). If I deploy

the

app to the server and run it via Web Start, it comes up just fine.

>

If I shift the monitor setup to single monitor (i.e. set the 2nd monitor

to

be a clone of the primary), IDEA runs the app just fine, however

afterwards,

I cannot switch back to dual mode until after I shut down IDEA.

>

Does anyone have any ideas? I'm really liking this dual head setup, but if

I

can't run/debug from IDEA it kind of defeats the purpose!

>

Thanks!

>

rob.

>
>


0
Avatar
Permanently deleted user

crash at this method?
at sun.java2d.loops.DefaultComponent.Bgr24BitToArgb(Native Method)

If there are different color depth on these two monitors, (ex. one is CTR,
and another one is LCD), change them to the same color depth.

"Robert Hedin" <robert@ndsapps.com> ???g???l???s?D
:arlsmm$vij$1@is.intellij.net...

Has anyone experienced any issues with a dual monitor setup?

>

My workstation crashed, and in the process of rebuilding I took the
opportunity to throw in a dual head capable Radeon card (with 2nd

monitor).
>

IDEA appears to work fine, however when I try to debug or run a swing

based

app via IDEA, the app just hangs (starts to construct a JFrame and just

goes

south). IDEA is still responsive (i.e. I can stop the app). If I deploy

the

app to the server and run it via Web Start, it comes up just fine.

>

If I shift the monitor setup to single monitor (i.e. set the 2nd monitor

to

be a clone of the primary), IDEA runs the app just fine, however

afterwards,

I cannot switch back to dual mode until after I shut down IDEA.

>

Does anyone have any ideas? I'm really liking this dual head setup, but if

I

can't run/debug from IDEA it kind of defeats the purpose!

>

Thanks!

>

rob.

>
>


0
Avatar
Permanently deleted user

No it just locked up, no crash. Also am running 2 identical monitors @ same
resolution & color depth.

The app was being compiled & ran under JDK 1.4.0_02, when I changed to to
JDK 1.4.1_01 the problem went away.

Thanks!

rob.

"WilliamWey" <is85012@cis.nctu.edu.tw> wrote in message
news:as15n2$8q4$1@is.intellij.net...

crash at this method?
at sun.java2d.loops.DefaultComponent.Bgr24BitToArgb(Native Method)

>

If there are different color depth on these two monitors, (ex. one is CTR,
and another one is LCD), change them to the same color depth.

>

"Robert Hedin" <robert@ndsapps.com> ???g???l???s?D
:arlsmm$vij$1@is.intellij.net...

Has anyone experienced any issues with a dual monitor setup?

>

My workstation crashed, and in the process of rebuilding I took the
opportunity to throw in a dual head capable Radeon card (with 2nd

monitor).
>

IDEA appears to work fine, however when I try to debug or run a swing

based

app via IDEA, the app just hangs (starts to construct a JFrame and just

goes

south). IDEA is still responsive (i.e. I can stop the app). If I deploy

the

app to the server and run it via Web Start, it comes up just fine.

>

If I shift the monitor setup to single monitor (i.e. set the 2nd monitor

to

be a clone of the primary), IDEA runs the app just fine, however

afterwards,

I cannot switch back to dual mode until after I shut down IDEA.

>

Does anyone have any ideas? I'm really liking this dual head setup, but

if

I

can't run/debug from IDEA it kind of defeats the purpose!

>

Thanks!

>

rob.

>
>

>
>


0

I have the problem consistently on Linux Mint with openjdk 17.0.7 2023-04-18 (Temurin). It doesn't matter, whether I run both monitors from the motherboard, the graphica card, or mixed.

For details, see: https://forums.linuxmint.com/viewtopic.php?p=2343568&hilit=dual+monitor+problems#p2343568

0

Please sign in to leave a comment.