NetBeans GUI Creator: Loading ... Message

The NetBeans tutorial sample project contains only one Swing form (empty JFrame), it compiles and works fine, but I can’t change the layout of the form and add elements to it using the NetBeans GUI, because it only shows an empty placeholder with a single message " loading ... ". Any tips on how to fix this would be greatly appreciated.

Kubuntu 12.04, Openjdk 1.7, NetBeans 7.0.1 with active graphical GUI plugin.

The log file contains an error

SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.form.FormDesigner$PreLoadTask

+6
source share
2 answers

KNOWN BUG in the designer is marked as completed (NetBeans 7.0.1 GUI editor does not load).

Get the new version from netbeans.

It seems the same problem.

reported: ... All my projects use SWING components, and when I click on the Design switch to make changes to the graphical interface, it shows the download icon and I get the following error: ...

+6
source

I have a very similar problem with NetBeans-7.2 on a Gentoo system (the only difference is another error in the log: java.lang.ClassNotFoundException: org.w3c.dom.ElementTraversal ). The solution is to install the dev-java/batik and start NetBeans with

 netbeans-7.2 -cp:a /usr/share/batik-1.7/lib/batik-ext.jar 

These additional arguments can be added to netbeans_default_options in /etc/netbeans-7.2/netbeans.conf to make a permanent fix. More information can be found here here and here .

0
source

Source: https://habr.com/ru/post/916870/


All Articles