Community
Participate
Working Groups
Created attachment 137330 [details] Source code Build ID: Build id: M20090211-1700 Steps To Reproduce: As I'm typing this code, I get prompted: The constructor Insets() is undefined. The first suggestion that appears is misleading because it is not valid syntax. I haven't checked the rest because there is a whole list. add(faceLabel, new GridBagConstraints(0,0,0,0,0,0,0,0, new Insets(getDefaultCloseOperation(), defaultCloseOperation, defaultCloseOperation, defaultCloseOperation), 0, 0)); More information: NOTE: I have included a video to demonstrate this issue. NOTE 2: Microsoft Windows [Version 6.0.6001] Copyright (c) 2006 Microsoft Corporation. All rights reserved. C:\Users\Administrator>java -version java version "1.6.0_13" Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing) NOTE 3: Source code does not run (see Bug#278042)
Created attachment 137337 [details] source code Replaced source code because there was an error in the original source.
I don't get any error with the second attachment. Closing as INVALID. Reopen if you have better steps to reproduce.
Verified for 3.6M1