i'm very new to java and i come from a windos ambience; my Q is related to eclipse,which i've been hearing a lot about. Is it easy to configure as a text editor with code completion and all that? Will it have swing interface with buttons to generate the code for me? thanks in advance
No code generation, which is very good for newbies. You should not have any code generated for you that you cannot write yourself as well or better, how else are you ever going to learn to write that code? Learn the language, not the tool, else you become locked into that one tool and will panic as soon as your favourite wizzard is not available because you can't write code yourself... As to getting Eclipse set up, it's relatively easy once you know what you're doing. As a newbie you don't know what you're doing so learn first. You got to learn to walk before you can run... Start with a command prompt and a simple text editor, and move up to an IDE once you have mastered those.
in first place thanks for answering well, i'm a beguinner in java, but i can use command line to compile and run, build with ant and generate javadocs, and also create jars. (i dont need and dont have a classpath set in my environment!) So, from there, i guess i graduated
You should not have any code generated for you that you cannot write yourself as well or better
i'm not looking for that, but instead for a confortable editor that has code completion, highlight sintax and other nice features too
Start with a command prompt and a simple text editor, and move up to an IDE once you have mastered those.
so i guess i'm ready well, lets put the question upside down: as i really dont wanna spend my time learning a tool instead of learning java, do you think eclipse will be easy to work with? and those features i refered are they allready installed or else i've to go look for and get them?
Forget about a GUI builder, it's not there (at least as standard, I believe there are plugins). But then again you shouldn't use those, rather handcode your code which is a better learning experience and yields better code too. Code completion and syntax highlighting comes as standard.
I would tend to disagree with Jeroen's assertion that the avoidence of code generating tools (for GUIs) would facilitiate better or faster learning. Generally speaking GUIs are the least interesting part of any project I work on. I like working on projects that have some depth and uniqueness to them ... otherwise I just find canned solutions. So when I have a nice meaty programming problem in front of me, the last thing I want to do is spend 90% of my time hand writing a complicated GUI. I would much rather spend 1-5% on GUI and the rest on domain programming problems. Getting all the right container types and layouts that stretch and look nice as a window is resized is tough enough without a Screen painter ... I just can't see it as faster doing it by hand. Sure ... code a few alerts and MessageBox dialogs by hand ... it would be good for ya like your Spinach. But soon you'll have seen enough ... and if your domain problem requires any interesting reports or sets of inputs ... reporting and eliciting the data will be more fun if you use a Screen Painter. Now, knowing that Eclipse does not have a screen painter might be one more reason for me to sit still and continue with NetBeans 3.5.x Half the reason I'd use an IDE would be for the screen painter. Not for the fancy text editor config, or a gui debugger. But I suppose we all have our reasons for doing things. Code a few GUI elements by hand ... and then delegate that to a Screen Painter once you've had your fill.
yes, "once you've had your fill". In other words learn to do it by hand before you leave the task to a wizzard. You've handcoded stuff and know how to do it. I don't say never to use code generators, but to not let code be generated that you couldn't build yourself just as well or preferably better.
i'm learning java by myself, just self taught, and also i learn for fun, not for jobs or certifications or exams. so i've a plan: goal: make a distributed java+mysql app i'm still giving my first steps in polimorphism, i'll read Head In Java, read Thinking In Java, read the forums, code my training apps, learn the command-line jdbc and then - only then, i'll switch to swing. I made a sun tutorial about that called DiveLog, and i coded by hand a gui with tabs, pics, buttons, check boxes and all that. But i'll leave the graphics to the very end i intend to study it a bit then quickly start using IDE's which write that boring code to me Agree?
yes, i tend to agree with the article's author, specially when he says:
We are not against wizards.(...) But if you do use a wizard, and you don't understand all the code that it produces, you won't be in control of your own application. You won't be able to maintain it, and you'll be struggling when it comes time to debug.
Montana has cold dark nights. Perfect for the heat from incandescent light. Tiny ad: