473,473 Members | 1,807 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Eclipse vs. NetBeans

176 New Member
Hello guys. This is just an opinion. Which Java IDE should I use. Eclipse or NetBeans. I usually like to develop applications and create GUI windows. So which one should I use?
May 14 '08 #1
20 5868
r035198x
13,262 MVP
Hello guys. This is just an opinion. Which Java IDE should I use. Eclipse or NetBeans. I usually like to develop applications and create GUI windows. So which one should I use?
For GUI with Eclipse you need a plugin for that. Netbeans doesn't need a plugin for GUIs.
Which one should you use? I prefer Eclipse.
Matter of preference I guess.
May 14 '08 #2
JosAH
11,448 Recognized Expert MVP
Using such a drag-and-drop thing for gui building is AVBT (A Very Bad Thing (tm)).
Those things create code for you that you don't understand, the code is very
screen size dependent and it smells funny. Guis are best built using proper
LayourManagers and a proper nesting of gui Components.

Find a consistent way to build up your guis, separate the controller functionality
from the view functionality (many separate small methods!) and knit them together
in a sort of generic way and you're almost there. Let those LayoutManagers do
the rest of the boring work. You don't need Netbeans for that; better have an IDE
that gives you full control over (the structure of) your code.

kind regards,

Jos
May 14 '08 #3
r035198x
13,262 MVP
..
Those things create code for you that you don't understand,...
kind regards,

Jos
... and can't edit.
May 14 '08 #4
ajos
283 Contributor
Using such a drag-and-drop thing for gui building is AVBT (A Very Bad Thing (tm)).
Those things create code for you that you don't understand, the code is very
screen size dependent and it smells funny. Guis are best built using proper
LayourManagers and a proper nesting of gui Components.

Find a consistent way to build up your guis, separate the controller functionality
from the view functionality (many separate small methods!) and knit them together
in a sort of generic way and you're almost there. Let those LayoutManagers do
the rest of the boring work. You don't need Netbeans for that; better have an IDE
that gives you full control over (the structure of) your code.

kind regards,

Jos
I swithched from eclipse to netbeans 6.0 a fortnight ago, and had many problems with it. I found netbeans "doing the stuff for you kind" which i dont like personally, i like to put my jar file(for web projects) for struts,jsf etc manually, netbeans does this for me. I find eclipse very fast and doesnt make you feel the "lazy kind" like "let me put the jars for you".

This is in context to web projects like struts,jsf etc in netbeans, i dont know about the GUI stuff. Jos said it well.

regards.
May 14 '08 #5
JosAH
11,448 Recognized Expert MVP
... and can't edit.

True, I once played with a thing that generated code for me and it put some
magic incantations in the comment lines as well as a warning "do not delete".
Guess what I do when I see a warning sign "wet, do not touch" so I deleted
those magic spells. There was no way I could alter that gui with that tool
anymore; they are so cute. not.

kind regards,

Jos
May 14 '08 #6
r035198x
13,262 MVP
True, I once played with a thing that generated code for me and it put some
magic incantations in the comment lines as well as a warning "do not delete".
Guess what I do when I see a warning sign "wet, do not touch" so I deleted
those magic spells. There was no way I could alter that gui with that tool
anymore; they are so cute. not.

kind regards,

Jos
I had a thing like that too. It was called Netbeans.
May 14 '08 #7
JosAH
11,448 Recognized Expert MVP
I had a thing like that too. It was called Netbeans.
I never really trusted Sun's code quality; Java is the first different thing: they have
JSRs and expert groups and other companies define and implement most of the
reference implementations.

kind regards,

Jos
May 14 '08 #8
BigDaddyLH
1,216 Recognized Expert Top Contributor
Using such a drag-and-drop thing for gui building is AVBT (A Very Bad Thing (tm)).
Those things create code for you that you don't understand, the code is very
screen size dependent and it smells funny. Guis are best built using proper
LayourManagers and a proper nesting of gui Components.

Find a consistent way to build up your guis, separate the controller functionality
from the view functionality (many separate small methods!) and knit them together
in a sort of generic way and you're almost there. Let those LayoutManagers do
the rest of the boring work. You don't need Netbeans for that; better have an IDE
that gives you full control over (the structure of) your code.

kind regards,

Jos
Testify, brother! Another problem with the automatically generated code is that it stinks. Or rather, if you want to use a design like Model-View-Presenter:

http://martinfowler.com/eaaDev/uiArchs.html

You will be going in and redoing the code.
May 14 '08 #9
JosAH
11,448 Recognized Expert MVP
Testify, brother! Another problem with the automatically generated code is that it stinks. Or rather, if you want to use a design like Model-View-Presenter:

http://martinfowler.com/eaaDev/uiArchs.html

You will be going in and redoing the code.
Most of the people don't think of components like that (nice article btw); all they
want is that their buttons and what have you look nice without having to deal
with LayoutManagers; the behaviour of these components is just an afterthought.

kind regards,

Jos
May 14 '08 #10
BigDaddyLH
1,216 Recognized Expert Top Contributor
Most of the people don't think of components like that (nice article btw); all they
want is that their buttons and what have you look nice without having to deal
with LayoutManagers; the behaviour of these components is just an afterthought.

kind regards,

Jos
I guess I've been on the pokey end of that stick for too long. And I'm thinking of web apps, where the stick is both longer and pokier. So you end up with a web page that needs to be tested, and the only way to do that is to step through 10 previous web pages, over and over again. <nightmare-ish screaming/>
May 14 '08 #11
Kid Programmer
176 New Member
It sounds like I should go with Eclipse. I usually find auto generated code easy but I'm not learning anything. I'll stick with Eclipse.
May 14 '08 #12
Plater
7,872 Recognized Expert Expert
The greatest day on earth in my java career was when I learned that I *COULD* in fact place widgets at pure x,y locations and not use some layoutmanager.
But that might be due to hating having to specify widget placements like an HTML table. Span this way, shrink this way. Bah.
May 14 '08 #13
BigDaddyLH
1,216 Recognized Expert Top Contributor
The greatest day on earth in my java career was when I learned that I *COULD* in fact place widgets at pure x,y locations and not use some layoutmanager.
But that might be due to hating having to specify widget placements like an HTML table. Span this way, shrink this way. Bah.
I had a different epiphany:

But it was all right, everything was all right, the struggle was finished. He had won the victory over himself. He loved GridBagLayout.
May 14 '08 #14
sukatoa
539 Contributor
I usually find auto generated code easy but I'm not learning anything.
Try JDeveloper....

You will amazed about the generated code.....
It is readable enough by a java programmer....

And most of all? the generated code is editable, you can have an experiment on it...
That's what i've care for....

and also IDX Java IDE.... Not a gui builder but it interprets all of your classes in diagram.... You'll see the diagram about your codes.... with code completion, syntax checker debugger and a window to browse the Java Core API Documentation...(Only for Windows)

That is what im using now in my project and im always guided by that diagram.(Useful if you forgot the specific blocks of your code.)

You'll never regret....

regards,
sukatoa
May 15 '08 #15
Plater
7,872 Recognized Expert Expert
GridBagLayout
Haha yup, I couldn't think of the name offhand, but GridBagLayout was the "best" layoutmanager I had found. Now I don't even do java anymore so it also no longer matters. Bwahaha.
May 15 '08 #16
r035198x
13,262 MVP
Haha yup, I couldn't think of the name offhand, but GridBagLayout was the "best" layoutmanager I had found. Now I don't even do java anymore so it also no longer matters. Bwahaha.
I don't do .NET anymore too so there.
<Rounds us his fellow Java programmers to start celebrating victory over the .NET mod >
May 16 '08 #17
JosAH
11,448 Recognized Expert MVP
I don't do .NET anymore too so there.
<Rounds us his fellow Java programmers to start celebrating victory over the .NET mod >
What I never understood is that .NET started off as some sort of Java JVM clone
but they have crippled it for MS Windows environments only. IMHO that was the
only thing that made the JVM valuable.

What they didn't do however was widen the .NET definition so it could easily
handle, say, MI of implementation (the JVM is targeted towards SI of implementation
as well). Their 'managed C++' implementation is laughable at best now. I have
played a bit with a SmallTalk implementation for the .NET platform: laughable as
well. Microsoft has sure let a great opportunity slip there.

kind regards,

Jos
May 16 '08 #18
Plater
7,872 Recognized Expert Expert
But, and uncharactoristically I must say, Microsoft gave away their CLR/CLI to the open source community. (Thus begat Mono)
Three years of java was enough for me. Now it's just a far far backburner leisure activity.... which be pushed to the forefront in my company drops windows.

Also:
<Rounds us his fellow Java programmers to start celebrating victory over the .NET mod >
Hehe, do you have some now? For a bit there I was answering questions in the java forum too :-P
May 16 '08 #19
r035198x
13,262 MVP
....

Hehe, do you have some now? For a bit there I was answering questions in the java forum too :-P
Picking up but still below standards.
May 18 '08 #20
JosAH
11,448 Recognized Expert MVP
Picking up but still below standards.
Indeed, especially those r2d2x and JohOH or whatever guys are a shame for
this community. Can't they be thrown out and burned or something?

kindest regards,

Loretta
May 18 '08 #21

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: A.M | last post by:
Hi, Is Eclipse the most powerful IDE for Java? Do we have any better free IDE for Java? Thanks, Alan
3
by: Wiseguy | last post by:
I'm looking for a JAVA IDE and recently started reviewing the ones that are available. From what I gather the IDEs are great for organizing code and using pretty dialogs for managing object...
3
by: Martin Pisz | last post by:
Hi I do some programming for myself. I am not an IT professional and don't want to be one. Which IDE is better for java, Eclipse of Netbeans. Is SWT worth using or learning?
0
by: Chaitanya | last post by:
Hi, Iam currently doing on jsp using netbaens, i want to use my sql as database instead of ms access. Please suggest me the connections that i have to make to connect from netbeans to my sql....
15
by: Ramon F Herrera | last post by:
I have been using Eclipse for a few weeks, and IMO there is no better IDE. Since my experience has been so productive -and hence satisfactory- in Java, I would like to use the same IDE...
2
by: mohamadmahdi | last post by:
Hello I want to change my editor from eclipse to netbeans but when i copy my code in netbeans and compile them some of them send errors. what shoud i do? Thanks;
1
by: rpm27 | last post by:
Hi, I am in the process of learning Java. I have been using Eclipse to try some simple example code. However, I am thinking of trying NetBeans since it has a GUI editor. And last, in my Java book,...
3
jeffbroodwar
by: jeffbroodwar | last post by:
Hello everyone, I used to create java programs using netbeans IDE. I decided to try eclipse since a lot of java programmers recommend using it. I wanna know what programs do you recommend in...
17
by: cirfu | last post by:
is there an IDE for python of the same quality as Eclipse or DEVC++? I am currently using the editor that coems iwth python and it is all fine but for bigger projects it would be nice to have...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.