NetBeans 8.0.2 missing Java Desktop Application - netbeans

I recently installed latest version of NetBeans and when I tried to make a new project type "Java Desktop Application" it won't appear in Java category.
Please help?
I've installed this plugin:
Java Swing Framework Library
JDK Project for Netbeans
Even I installed all of java plugins. But no luck!

By Java Desktop Application you may be referring the "Swing Application Framework" and that was halted by Sun Microsystems before Java 7 around year 2009 end.
For developing Desktop Applications using Java in NetBeans you have multiple options as follows:
Using Matisse UI Builder
The Matisse UI builder is available in NetBeans and you can create JFrame and JDialog classes in your application which can be used as your UI in any Java application. This approach needs a lot of boilerplate code to be written for creating windows, menus and dialog boxes. The next option is better if you want a professional cross platform Java Desktop Application
Using NetBeans Platform as base of your application
NetBeans IDE is built on the top of NetBeans Platform and you can also use the NetBeans Platform to build your own Desktop application with many conventional features out of the box coming from the NetBeans Platform. The NetBeans IDE comes with NetBeans Modules project types where you can choose the "NetBeans Platform Applciation: project type to create a desktop application. There are lot of tutorials and help available for the NetBeans platform on NetBeans users list and platform mailing list.

If you are still looking for the answer, or if anyone out there who want help, then here is an option. I think you want the drag and drop option, right? Here you go.
Just Start new project as Java and Java Application as shown below:
And then give any name to your project, like helloworld as shown below:
After you click finish button, the helloworld package will be opened. Now go to the left (mostly) or right side of the screen there is a list of projects. Go to your project and right-click on Source Packages -> New -> Other as shown below:
Now another window opens, and select Swing GUI Forms from Categories and JFrame Form from File Types, then Next and give the name and location for the class.
Now the form should appear on the window. You can now go back to source code and go forth to Design as you want. Have a nice coding.

Related

Run as Eclipse Application

I am following an Eclipse Modeling Framework tutorial (and also this one). At one of the steps, I need to run a project (the .editor project according to the tutorial) by right clicking on it and selecting Run As -> Eclipse Application. But there is no such item in my eclipse!. I can only see "Java Application" and "Java Applet" in Run sub-menu.
(I am using eclipse-java-kepler-R-win32-x86_64.)
I installed Eclipse Plugin Development Tools (from Help -> Install New Software...) and now, Can run as Eclipse application :)
Running as Eclipse application starts a new instance of Eclipse with the plugin projects installed (the generated projects in my case). So, it takes a lot of memory and can slow down the system. You can export the projects as a plugin for a better performance. you can use lots of available tutorials like this vogella tutorial for Eclipse plug-in development.

Unable to add JSP files into Project

Here is a picture of my environment and I am unable to create JSP files, I am not sure what I am missing let me know what I can answer to get a resolution. Thanks.
If anyone is having this issue with Sring Starter Project in Spring Tool Suite 4:
Help -> Install New Software -> WorkWith Spring Tool Suite 4
Scroll to bottom and select :
Web, XML, Java EE and OSGi Enterprise Development
You are probably using the standard version of eclipse. (As you are using the default "Java" perspective, not "Java EE".)
The solution would be to download the version of eclipse that has Java EE support. This version will enable you to create Servlets, JSPs and many more through wizards (that's what you seem to be looking for).
Get the current version (Juno SR2) of Eclipse IDE for Java EE Developers here: http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/junosr2 (choose the version according to your system in a box called Download Links at the right-side of the page).
The wizard will be available then. Also, don't forget to change the perspective to Java EE (in a button at the top of the right-hand side of you eclipse), as it will show your web projects in a better organized way.

How to create a UI in eclipse?

I have downloaded eclipse i'm trying to create a form in eclipse, where i can see the tools with texbox, button..etc in eclipse ? please help me to get the toolkit. I used the toolkit in Visual Studio, is there any toolkit for eclipse? I'm using Eclipse Indigo, in vista system.
For desktop apps (Swing or Eclipse SWT), there's WindowBuilder. It's one of the core features that is included in the Eclipse for Java Developers package you can download from www.eclipse.org. If you downloaded a different Eclipse package, use Help > Install New Software to install WindowBuilder into your Eclipse.
For web pages, the Eclipse for Java EE Developers package includes a Web Page Editor with source view and "design" view. Design View has a palette of components that you can drag and drop to construct a page.

What plug-in do I need to create a web application in Net Beans

I just installed NetBeans on my local system. I want to create a Web application but when I click on File->New Project-> The dialogue box that pops up does not give a Web option (I know one exists because I've seen it in text books). Instead I see Java, Maven, NetBeans Modules as my options. Is there a plug in that I need so that the Web option appears?
Thank you,
Elliott
It seems that you didn't download the correct download bundle.
The NetBeans download page shows an overview of all available bundles. From your description it seems that you have the JavaSE package. But you will need the JavaEE package.
As stated on the same page you can add modules:
You can add or remove packs later
using the IDE's Plugin Manager (Tools
| Plugins).

Where is Eclipse empty shell edition?

There're so many Eclipse editions.
I don't know well in structure of Eclipse IDE, but as I know, Eclipse is basically an empty frame for strong plug-ins. This means there should be an empty shell edition, but I couldn't find it. Most basic editions already contain many tools in it.
Where is it? And how can I obtain it?
I think you're referring to the Rich Client Platform? You'll need to download the RCP SDK to get started, then when the time comes to deploy check out the FAQ for what you need.
As mention in the recent serie "Eclipse is…", Eclipse is a bit more than "an empty frame for strong plug-ins". It is also:
A Java IDE;
An IDE Framework;
A Tools Framework;
An Application Framework;
Runtimes;
Open Source Projects;
A Community;
An Eco-system;
A Foundation; and
More?
You can see all the Helios packages (distributions) here, the smallest one being the Eclipse IDE for Java Developers (99MB).
You can compare those packages in term of content.
Only the RCP edition would allow you to build a minimal RCP application, like the one presented in this RCP tutorial:
alt text http://www.vogella.de/articles/EclipseRCP/images/firstrcp70.gif
I think you are referring to the platform runtime binary, available here : http://download.eclipse.org/eclipse/downloads/drops/R-3.6-201006080911/index.php
From eclipse download page, click "other downloads" next to eclipse classic, and then click "3.6" on the next page.