Java programming requirements - java

I am a C# programmer. I want to learn Java to implement my windows application. But I don't know what IDE and what tools can help me.
Please help me to choose best platform and IDE and other tools.
Edit:
Thank You For Your Helping. And What is Best Ebooks and UserGuids to Learn java.

There are really three big IDE's that people use:
Eclipse
Netbeans
Intellij IDEA (my personal favorite)
The online Java Tutorials are a great place to start learning the language.

Eclipse or NetBeans will be your best bet for an IDE (in my options)
Set up Git for source control
Use Maven to manage your builds (if you're getting that complex)

First, download the java jdk.
http://www.java.com/en/download/index.jsp
Later, install an IDE. I suggest you to use Eclipse, I like it:
http://www.eclipse.org/
Another one very used is Netbeans:
http://netbeans.org/
Have Fun!

There's a short tutorial along with a great comparison table here. It's a Java tutorial aimed at C# developers.

Java is very close to C# you don't need more than eclipse (Actually I prefer it more than Netbeans) and search for any syntax you want in the Java documentation

JDK
First you need to download Java
development kit(J2SE 6) from Sun's
website
IDEs
eclipse or netbeans
Books
If you are planning to use Swing for
windows application - you may read
sun's tutorial
http://java.sun.com/docs/books/tutorial/uiswing/
Or if youa re a serious Java learner
get the Thinking in Java book from
here
http://www.odioworks.com/46-Bruce_Eckel%27s_Free_Electronic_Books.html
By the way, welcome to Java's world :)

Welcome to Java World. You can either use Swing or SWT for windows form like development. Here is a good link to get started with SWT http://www.developer.com/java/other/article.php/3330861/SWT-Programming-with-Eclipse.htm .
On top of what the other user's have already recommended, I would suggest getting familiarized with a J2EE container. It will come in handy in the future. Here is a link on what it is. JBOSS container is free and a pretty good one to use in my opinion. You can download it here.

For Windows app with SWT / AWT gui you should know there are plugins for IDE that help you to create your gui. Check for exemple Matisse for NetBeans.

Once you have Eclipse up and running, you should look at the Visual Editor Project plugin at Eclipse for developing windows applications. Hand-coding all of the SWT stuff is a big pain and hence the plugin will help.

netbensIDE will help u

Related

How to install and use NatTable?

I have developed some web applications before and everything is well documented and there is a framework for anything. I am new to Swing and desktop application development and I found that documentation is sparse and you have to figure out a lot of things by experimenting.
I've been googling for a few hours on how to setup NatTable and I couldn't find anything. I was surprised no one asked the question before. I just want some instructions on how to get the basics working on Eclipse and NetBeans. I was using Eclipse in the past but I think I will use NetBeans for this project as the Swing GUI editor is better.
Is NatTable exclusive to Eclipse or will it also work with NetBeans? If someone can post screenshots of the setup procedure, that would be awesome.
Any help is appreciated.
Thanks in advance.
The NatTable project has a website that contains some information. It doesn't cover everything, but how to install and use it is explained:
https://www.eclipse.org/nattable/documentation.php?page=getting_started
Currently NatTable is building a SWT control. Swing is not supported. That might change in the future.

Java project template on Mac?

I'm trying to expand upon the basic Java that I've learned by taking an example that I've found in a general Java programming book and growing it with more capability. I've been trying to use Xcode's v3.5.2 Java project template for a Java application using the Eclipse Juno IDE and I see some of the methods and classes are deprecated. After clicking around the internet for the past two or three days, I'm confused.
I have two primary questions:
What is the proper start in developing a Java application (not for the web) on a Mac? Is the template available through Xcode 3.5.2 the right way to go? I'm trying to find how the apple.laf.useScreenMenuBar (discussed in the Apple Developer User's Guide for Java) interplays with the Xcode template. Does one outdate the other? Should I start from scratch?
I have yet to come across any documentation/template for the bare-bones/stub setup of a Java application on the Mac other than what is available in Xcode! I would think that such a stub would be available given Apple's Human Interface Guidelines. If some reference is available, I would appreciate a link. I've been consulting Apple's Java Development Guide for Mac and the API documentation, Oracle and other places on the web but so far no luck and just confusion.
I get the idea that the true answer is to give up on Java on the Mac and program on the PC or just go with Objective-C! (I'd like to learn Objective C but unfortunately right now, I have better survivability in my company with Java and Python.)
Thanks for any kind suggestions.
Give unto XCode that which is objective c. Use Eclipse for everything else.

where is the eclipse desktop framework

i'm new for java how can i add a button or others like Microsoft visual studio?
If you mean that you want a GUI builder, you'd better consider NetBeans with its Matisse. I think it is the most popular now for Swing apps.
This Google search shows a number of GUI builders for Eclipse
Many people prefer building GUI in Swing manually (just writing code) because it is by far not that difficult as in MSVC++ applications.
If you are looking for the Eclipse IDE to help with the development of Java applications, this can be found on eclipse.org.
Though I'm not sure I understood your question correctly.
What you are looking for is Eclipse Visual Editor. However, as pointed out by others, the GUI Builder from NetBeans (formerly known as Matisse) is more popular for Swing development.
Download Netbeans, its visual editor is very good, and will give you a the perfect Swing User Interface. Its also very easy to use.
When making desktop applications, i always do it with Netbeans, if i know the application will be more complicated later, then i do only one or two JFrame classes with Netbeans, and use them in a new project in Eclipse :)

GUI frameworks for Java

I was wondering if anyone has any suggestions of frameworks to give an old desktop application a much needed facelift.
The application has had a long life without anyone giving any attention to its exterior resulting in a monster with an 80s look.
I've just downloaded and tried MyDoggy framework for making windows floatable and dockable. So I'm looking similar for quick and easy fixes that will bring a dead looking application back to life.
I think you don't want to rewrite your app, right? Because it seems as all the other guys think so, suggesting SWT and JavaFX.
To pimp your existing Swing App, take a look at jgoodies.com, the substance look and feel or the swinglabs
Just changing the look and feel and some components might already help to give your application a second youth. Consider for example Violet which is IMO a nice looking application. It uses a custom theme based on the PgsLookAndFeel and some components from L2FProd.com.
You could give Oracle's ADF a try.
If you want to go with the latest and greatest, you could try JavaFX. Bu tof course using good old swing or the more OS agnostic SWT does the trick as well.
There's ofcourse the Eclipse Rich Client Platform or the Netbeans Rich Client Platform.

Java web development using Eclipse - Tutorial

I need some step by step tutorials/documents on developing Java web applications using Eclipse/apache.
appreciate directions/help.
I recommend you read a book instead:
This is probably the simplest way to get started. It really helped me with getting a grasp on how the directory structure and web.xml go together and make a web app. Eclipse is only a partner in your development, you really need to understand the underlying infrastructure no matter what framework you are using, and this book gives you a solid start.
There are some video tutorials available at http://eclipsetutorial.sourceforge.net/
The first tutorial begins with the absolute basics of setting up a workspace and getting started. It also shows the Welcome screen available under the help menu which has links to an overview, samples, and tutorials
As you've already installed Apache Tomcat. I assume you've not installed Java EE tools for Eclipse. If not, then First download Eclipse Java EE tools from Help > Software Updates > Available Software > Java EE developer Tools.
First way : is using Tomcat plugin with eclipse,for that you've to check this tutorial
Second way: If the Tomcat Plugin is not working with you then other alternative as follow Click on Click Window in menu> Preferences then click Server pane. Open Runtime Requirement pane. Add path for the tomcat directory. Click Ok. You're done with the settings.
Now you can create new projects from File >New >Projects. And start building servlets/jsp projects. Try learning from good books like "Head first: Servlets & JSP".
Hope this helps.
When you first start Eclipse there is a screen with tutorials right in the program. They are also accessible from the Help menu
Reminds me of that old joke:
Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.
Sounds like you have several things that you don't know: Eclipse, Tomcat, Java EE development, maybe JSPs, JSTL, WAR files, the list goes on.
My advice would be to strip things down to the bare bones and decompose the problem a bit.
Start by doing a simple servlet/JSP app talking to a database, without using Eclipse. See if you can compile on the command line, create the WAR file, package it properly, and deploy it on Tomcat.
If you can manage that, then work Eclipse into the mix. Don't worry about running Tomcat inside Eclipse at first. You can go back and forth until the IDE is comfortable.
But you're asking a lot when you say you'd like step by step instructions. You're tackling a very big problem.
DZone REFCARZ might be helpful, there's one for eclipse:
Getting Started with Eclipse

Categories

Resources