Re: Is there an easy way to find the right class?



Corona4456 wrote:

On Jan 29, 5:28 pm, "Corona4456" <robertsa...@xxxxxxxxx> wrote:
On Jan 29, 3:53 pm, Farcus Pottysquirt <where_is_my_...@xxxxxxxxxx>
wrote:

The API has tons of classes and stuff right? So if I'm writing a
program in Java, how would I find the right class and package? Let's
say I'm writing an app and I need a class that will take a database
object and store it in some sort of list that will let me easily add and
delete from it. I know that ArrayList has this functionality...but
that's only by experience. What about a noobie (I rank myself only
slightly higher)... how would they find this out?Java is well documented at <http://java.sun.com/j2se/1.5.0/docs/api/
index.html>.
Using Eclipse helps out a lot. Google eclipse and you'll find it. It
is an excellent
IDE for java.

Weird... I'll try this again:
<http://java.sun.com/j2se/1.5.0/docs/api/index.html>

I use Eclipse and Netbeans as my IDE's so I am familiar with them. I enjoy the fact that both IDE's attempt to provide suggestions as to what I am trying to do...but what if I was sitting down with only a pad of paper, a pencil (with an eraser) and a reference like Java In a Nutshell (O'Reilly) how would I find the class/package I need without looking at each and every one until I find it? There must be an easier way. Internet access makes it somewhat easier, but even Google provides more information than I need. See what I mean. Let's ask someone like Andrew Thompson... hey .... how do you find a class that you need? Do you have a website you consult or some other book?
.



Relevant Pages

  • Re: Java and .NET (no Flames Pls)
    ... I think hands down that C# windows or .Net windows app are much faster ... On the application server/business server side I think .Net and Java ... The other advantage that Java, Linux, Unix, MAINFRAME, ORACLE, maybe ... In Eclipse, by default it compiles the code every time you ...
    (microsoft.public.dotnet.framework)
  • Re: A constructive debate: Eclipse or NetBeans?
    ... However, I've tried NetBeans recently. ... better support for creating GUIs than Eclipse ... "make" as a build system and primarily programming in OCaml. ... Sun's Java implementation. ...
    (comp.lang.java.softwaretools)
  • Re: Lisp v. Java/Eclipse
    ... First off, Eclipse is great! ... and was Lisp-programmable it would be The Killer ... far from calling it "Killer App". ... It is best tool for doing refactoring in Java. ...
    (comp.lang.lisp)
  • Re: Debugger
    ... To attach to a running process using VC (this is Visual Studio 2003 specific, ... go to your Java code. ... At this stage /don't/ use Eclipse to do this, ... Now you may see that your breakpoint has changed to show a '?'. ...
    (comp.lang.java.programmer)
  • Re: Debugger
    ... To attach to a running process using VC (this is Visual Studio 2003 specific, ... go to your Java code. ... At this stage /don't/ use Eclipse to do this, ... Now you may see that your breakpoint has changed to show a '?'. ...
    (comp.lang.java.programmer)