In system settings: Set second screen above native screen.
Open Netbeans, move window to second screen, window will disappear.
Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Mac OS X version 10.10.2 running on x86_64
Java; VM; Vendor = 1.8.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Created attachment 151812 [details]
Just touching this to say mine has developed the same problem - was fine until a couple of days ago when the latest OSX update 10.10.2 was installed.
A little more detail : was happening with netbeans php 8.0.1 - i've tried completely uninstalling and deleting the nbproject and various ~/Library/* netbeans directories then downloading and reinstalling with 8.0.2.
When you drag the window from the laptop screen to the 2nd monitor it vanishes. If you right click on the netbeans icon in the dock and click 'show all windows' it appears in mission control but as soon as you select it it vanishes again.
If i change the monitor/laptop screen positions in osx display settings, the editor appears if the laptop screen is positioned alongside the 2nd monitor, and vanishes when the laptop screen is positioned above or below the monitor.
I've tried doing the same with a couple of other java apps (Charles Proxy and PhpStorm) and they display correctly on both screens.
If i disconnect the hdmi cable and plug it back in again sometimes netbeans will then be on the 2nd monitor, but this only seems to be a temporary fix.
Googling i saw a similar sounding problem with XQuartz, where a suggested fix was to turn off "Displays have separate Spaces" in OSX Mission Control settings - what happens after doing that is it wont let me move the netbeans IDE onto the 2nd display - i can drag it there but it re-appears back on the laptop screen. (Charles Proxy and PhpStorm will allow me to move them to the 2nd screen).
Will attach my netbeans log to this too.
Created attachment 152055 [details]
IDE Log (2nd from @sovietuk)
I'm also getting this on my Mac with the latest OSX.
My external monitor is above my macbook monitor, so I like to tell the system they're positioned that way. I did find that when I tell the mac that the external is beside my macbook monitor, netbeans would run on it. My external has a lower resolution than the macbook monitor. When I configured the top edges of the monitors to be aligned, Netbeans would not position itself in the top third of the external monitor (it consistently jumped down to the middle third). When the bottom edges were aligned, I could position netbeans reasonably in the monitor.
I'm wondering if the latest OSX adjusted window coordinates, and netbeans is incorrectly trying to be smart about correcting position of a window.
I use all sorts of apps, and Netbeans is the only one that has any problems with this.
im having the exact same problem
Iv have the same issue. My monitor is on top. It is higher rez than my laptop display.
I have the exact same problem with the Oracle SQLDEveloper 4.1 preleases (both EA1 and EA2).
Since SQLDeveloper is Netbeans based this is not surprising.
Does anybody have a workaround? Is there a config setting I can fix, or delete of a temporary file of some sort? I am unable to use the big secondary monitor.
If you switch to monitor sync and back (cmd + F1) it should work.
I am having the same problem.
Thanks @pshh78 it works, but yeah it's tricky.
The Problem seems to be a window positioning issue.
Steps to reproduce:
Have the monitors aligned side by side with the screen bottoms aligned and different heights.
When you open netbeans on the small monitor and move the netbeans Window to the Bigger screen, you cannot move it higher than the small screen height.
The only way to fix this is to switch to full screen mode (green button top left). If you switch back to normal mode you are able to move the window freely on the screen.
I assume that this is the same issue with the screen being above one another since I had this problem too when having my monitors arranged that way.
It happens to me every time on Windows 10, when the 2nd external monitor unplugged from my laptop.