-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
None
This issue is separated from the
Run the code below on Mac OS X:
----------------------------------
import com.apple.eawt.FullScreenUtilities;
import javax.swing.*;
import java.awt.GraphicsDevice;
public class FileChooserFullScreen {
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
JFrame frame = new JFrame();
frame.setSize(300, 300);
frame.setVisible(true);
FullScreenUtilities.setWindowCanFullScreen(frame, true);
GraphicsDevice device = frame.getGraphicsConfiguration().getDevice();
device.setFullScreenWindow(frame);
}
});
}
}
----------------------------------
The JVM crashes:
012-10-01 17:33:46.470 java[2045:860b] Cocoa AWT: Not running on AppKit thread 0 when expected. (
0 libawt_lwawt.dylib 0x000000011c4376c9 Java_sun_lwawt_macosx_CPlatformWindow_nativeGetNSWindowDisplayID_1AppKitThread + 59
1 ??? 0x000000010f46560d 0x0 + 4551235085
- duplicates
-
JDK-7175707 [macosx] PIT: 8 b43 Not running on AppKit thread issue again
- Resolved