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.
Summary: | NetBeansIDE 7.4 - Can't edit or view WebcamStudio main class project design in GUIBuilder | ||
---|---|---|---|
Product: | guibuilder | Reporter: | soylent |
Component: | Code | Assignee: | apk0930 |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | apk0930 |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | design gui problem |
Description
soylent
2013-11-29 18:41:31 UTC
Also tried on OpenSuse 13.1 x86 with the same issue, OpenJDK 7 u45. karl. Hi, I decide to give Eclipse a try, and after installing Eclipse Kepler and Subclipse plugin I did a checkout of WebcamStudio source. After understanding how WindowBuilder works, I successfully open WebcamStudio main class form in the Design editor without any issue. I installed following Eclipse plugins: Swing Designer SWT Designer SWT Designer Core Components WindowBuilder Common Components WindowBuilder UI Common Components WindowBuilder GroupLayout Components WindowBuilder Core Java WindowBuilder XML Common Components At this point i'm quite stuck. I started learning Java in NetBeansIDE, and I'm not a GUI designer ( and not a coder too ...), so GuiBuilder for me was a very helpful hand. I like WebcamStudio Project so now I will study better Eclipse functions because I will continue my work on Eclipse editor. Thanks. karl. This looks like the same cause as in bug 238382. Here the problem is with JDesktopPane (which is a JLayeredPane subclass). The reason why it works on Windows and not on Linux is likely due to different JDesktopPane internals on these platforms (look and feels). This bug is already fixed in dev builds (8.0) and a fix for 7.4 will be available with patch 2 update next week. There is a simple workaround to make the WebcamStudio form work even in current NetBeans 7.4. Just edit the WebcamStudio.form file in a text editor and replace the line: <Layout class="org.netbeans.modules.form.compat2.layouts.support.JLayeredPaneSupportLayout"/> with: <Layout class="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout"> <Property name="useNullLayout" type="boolean" value="true"/> </Layout> Alternatively you can also delete the above line completely and change the enclosing <Container >...</Container> element of the JDesktopPane to <Component >...</Component> . *** This bug has been marked as a duplicate of bug 238382 *** Thank you very much Tomas Pavek, you make my day !!! :) Works perfect now. Thanks for the time you spent on it and for the good explanations of the issue. Finally i can get back to NetBeansIDE for my edits. Thanks again. Have a nice Day. karl Created attachment 151448 [details]
design gui problem
|