I thought this question fits SuperUser more than StackOverflow because it's not about actual Java programming, though programmers might be more likely to encounter the problem. Anyway, let me start of with some stats before I ask the actual question:
- Windows 7 x32
- Screen resolution 1024 x 768; Nvidia GeForce Go 6200
- Connected to desktop via ad-hoc wireless network
- Access internet via desktop
- Windows 7 x64
- Screen resolution 1920 x 1080
- Connected to laptop via ad-hoc wireless network
- Access internet via cable modem
I'm connecting to my laptop via Remote Desktop from my desktop to take advantage of the large screen. I'm doing programming on my laptop (for portability reasons). Everything else runs smooth and fast over Remote Desktop as both computers are connected directly over the ad-hoc wireless.
The only problem is this: Java Swing apps don't display the GUI properly. I acquired a Java Swing application and I'm debugging it in Eclipse. Here's what I got when I ran the app:
Apparently there doesn't seem to be anything wrong with the GUI application I'm debugging, because the Java Control Panel exhibits the same problem.
I've searched high and low in Google about this; the closest I came to a solution is this. But sadly, the use of
-Dsun.java2d.nodraw=true has no effect at all.
This only happens over Remote Desktop. I have tried locally and the GUI apps display properly. This isn't a dealbreaker for me as I can stop using Remote Desktop when developing Java Swing apps. However, I would like to know if anyone has encountered this and found any solution.
PS: All software involved (Eclipse, Java JRE, etc.) are latest versions.