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.

Bug 164925 - [JDK7] JApplet form design view corrupted
Summary: [JDK7] JApplet form design view corrupted
Status: CLOSED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords: JDK_SPECIFIC
: 164923 164927 167659 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-12 12:10 UTC by martinhavle
Modified: 2012-02-18 11:47 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 1622


Attachments
stacktrace (6.12 KB, text/plain)
2009-09-04 20:46 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
Description martinhavle 2009-05-12 12:10:07 UTC
Occurs on build 200905120201 with jdk 7b57.

When creating new JApplet form, the applet is opened in designer view but the Palette window is empty and it is not
possible to work with the JApplet in the Design view ( eg. right click on the applet does not work etc.).
Comment 1 martinhavle 2009-05-12 12:22:08 UTC
The same happens when creating new Bean Form based on java.awt.Panel.
Comment 2 martinhavle 2009-05-12 12:27:26 UTC
The same happens when creating Applet form AWT GUI Forms.
Also allways error occurs-see issue 164927.
Comment 3 Marian Mirilovic 2009-05-12 16:44:16 UTC
Martin,  
could you please try the same scenario with JDK 6 ?
Comment 4 martinhavle 2009-05-13 10:32:39 UTC
Does not happen on JDK6, it is just an issue of JDK7.
Comment 5 Tomas Pavek 2009-05-13 15:19:35 UTC
AWT components seem not working in JDK 7, GUI builder needs to be adjusted to changes between JDK 6 and 7 in this area.

I'd say this is not P2, JDK 7 is far from release and early adopters would unlikely use AWT components... Should be
addressed in NB 6.8, though.
Comment 6 Tomas Pavek 2009-05-13 15:20:27 UTC
*** Issue 164927 has been marked as a duplicate of this issue. ***
Comment 7 Tomas Pavek 2009-05-15 17:01:58 UTC
*** Issue 164923 has been marked as a duplicate of this issue. ***
Comment 8 Marian Mirilovic 2009-06-25 15:56:58 UTC
*** Issue 167659 has been marked as a duplicate of this issue. ***
Comment 9 Jan Stola 2009-08-05 15:34:05 UTC
Fixed with issue 169814.
Comment 10 alied 2009-09-04 20:46:30 UTC
Build: NetBeans IDE Dev (Build 200909040632)
VM: Java HotSpot(TM) Client VM, 16.0-b03, Java(TM) SE Runtime Environment, 1.7.0-ea-b59
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.NoSuchMethodException: org.netbeans.modules.form.fakepeer.FakePanelPeer.updateGraphicsData(java.awt.GraphicsConfiguration)
        at java.lang.Class.getMethod(Class.java:1619)
        at org.netbeans.modules.form.fakepeer.FakePeerInvocationHandler.invoke(FakePeerInvocationHandler.java:43)
        at org.netbeans.modules.form.fakepeer.$Proxy27.updateGraphicsData(.java:0)
        at java.awt.Component.setGraphicsConfiguration(Component.java:1045)
        at java.awt.Container.setGraphicsConfiguration(Container.java:1118)
        at java.awt.Container.addImpl(Container.java:1076)
Comment 11 alied 2009-09-04 20:46:34 UTC
Created attachment 87144 [details]
stacktrace
Comment 12 Marian Mirilovic 2011-06-09 09:57:16 UTC
v/c