简体   繁体   中英

Netbeans - Design view not available

I'm following a tutorial on using SOAP web services and for this i must edit my file WelcomeSOAP.java using design view, however design view is not available, only the 'source' and 'history' views are on the bar to the top; also if i go to view > editors they are the only two options. I have come across this question:

Netbeans design view?

However, both my laptop and computer are running netbeans 7.4 and the design view is available on my desktop, but I need to be able to use it on my laptop too. Does anyone know how to enable design view?

EDIT:

I have tried deactivating and reactivating the GUI plugin, and also re-installed netbeans, both of which did not work for me.

Tools->Plugins->Available plugins, search for 'GUI' if you need Then check: Spring framework for Java SE. It works for me on NetBeans 8.0.2

在菜单栏中转到 - 查看 >(选中)显示编辑器工具栏完成。

Alright i've found the answer. When you are in your source package, right click and there should be options for "forms"

搜索“web service”并确保“Java Web and EE”处于活动状态

Hmm.. It might be because you're not using the latest version of NetBeans (I had the same issue). Get NetBeans 8.0.2 and reinstall the GUI plugin. it should work then.

You have to install the plugin named web services. You can find it in this path and search for it there in the search box in top right corner.

tools->plugins->available plugins

Tools->Plugins->Available plugins, search for 'web service' if you need Then check: RESTFUL Web Service, SOAP Web Service. It works for me

Open Java Application, then right click on "Source Packages" - "New" - "Other" - (Categories) "Swing GUI Form" - (File Type) "JApplet Form"

Job Done.......

(I tried thin with 8.0.2)

Error : "Design view cannot be rendered."

Below procedure worked for me:

  • Close the file that has the design view (Web Services folder -> YourService)
  • Close the netbeans
  • Open Netbeans
  • Open the file again

Make sure you have not deleted the ".Form" file (Thats's what I did while rearranging everything). It is the file that lets you edit the form in netbeans. I couldn't find how to recover.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM