This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
can't drag the main ide window corner to resize it to fullfill the entire screen Product Version = NetBeans IDE 7.4 (Build 201310111528) Operating System = Mac OS X version 10.7.5 running on x86_64 Java; VM; Vendor = 1.7.0_45 Runtime = Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Created attachment 141309 [details] IDE log
*** Bug 237167 has been marked as a duplicate of this bug. ***
Cannot reproduce in the same configuration. Does the green button in NetBeans title bar work? Can you upgrade to OS X version 10.9?
Also anything special about your screen setup? Dual monitors? Mirroring?
I reported bug 237167. In my case, the green button doesn't resize horizontally past 1,024px. OS X 10.7.5 is the maximum supported on my machine. I have a second monitor, which is my main display (not mirrored).
in my case: - green button doesn't work - singl monitor (1280*800) - can't update to montain lion in jdk 1.7.0_25 it doesn't happen...will use that for now
Reporters, please try creating a simple Java project with a JFrame in NetBeans, run the project and try resizing the JFrame, thanks.
A simple JFrame app shows the same behavior as NetBeans: on Mac OS X 10.7.5 and JDK 1.7.0_45 the main window cannot be resized to fill a 1280x800 screen; 1024x768 seems to be the upper size limit. The same applies to the fullscreen mode the windows occupies the middle of the "full screen".
JDK bug: https://bugs.openjdk.java.net/browse/JDK-8027778 Closing this bug on NetBeans side.
Reporters, can you please try reproducing the problem also with the latest early access build of JDK8? Thanks. https://jdk8.java.net/download.html
If the problem can be reproduced on jdk8, it would be good to find a broken build, since currently we cannot reproduce the problem on our systems. I think you can start from b81: https://jdk8.java.net/archive/8-b81.html Then change build number in the url: https://jdk8.java.net/archive/8-b100.html and so on, until the build where the bug was introduced will be found. Thanks for the help.
Bad things is that builds <108 was removed from the server =(
Reporters, please run the code below on jdk7u25/jdk7u45 and post the output: import java.awt.GraphicsConfiguration; import java.awt.GraphicsDevice; import java.awt.GraphicsEnvironment; import java.lang.reflect.InvocationTargetException; import java.util.logging.Level; import java.util.logging.Logger; import sun.java2d.opengl.CGLGraphicsConfig; public final class test { public static void main(final String[] args) throws Exception { GraphicsDevice[] screenDevices = GraphicsEnvironment.getLocalGraphicsEnvironment() .getScreenDevices(); for (GraphicsDevice screenDevice : screenDevices) { GraphicsConfiguration gcs[] = screenDevice.getConfigurations(); for (GraphicsConfiguration gc1 : gcs) { CGLGraphicsConfig gc = (CGLGraphicsConfig) gc1; System.out.println("gc = " + gc); System.out.println("gc.widht = " + gc.getMaxTextureWidth()); System.out.println("gc.height = " + gc.getMaxTextureHeight()); java.lang.reflect.Method method; method = gc.getClass().getDeclaredMethod("_getMaxTextureSize"); method.setAccessible(true); System.out.println("OGLMaxTextureSize = " + method.invoke(new Object[0])); } } } }
I experience same problem on MacBook (1280x800) with Mac Lion 10.7.5 Running given Java code gives following results: JDK 1.7.0_25: java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-b15) Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode) gc = CGLGraphicsConfig[dev=69670592,pixfmt=0] gc.widht = 1280 gc.height = 800 OGLMaxTextureSize = 2048 JDK 1.7.0_45: java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode) gc = CGLGraphicsConfig[dev=69670592,pixfmt=0] gc.widht = 1024 gc.height = 1024 OGLMaxTextureSize = 2048 Same wrong max 1024 is with JDK8 preview.
Thanks saulukas this information really useful.
Today tried with JDK 1.7.0_51-b13 on Mac OS X Lion (10.7.5). Problem still exists. I have no idea how to post this bug to JDK team. Any plans for JDK team to fix it for Mac OS X Lion? It drives next to unusable all Java desktop applications: NetBeans, Oracle SQL Developer, ...
The issue should be fixed in JDK 8u20 as part of the issue 8010999 [macosx] a constrain of the top level window should be improved https://bugs.openjdk.java.net/browse/JDK-8010999