Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Looking for a starting point

Reply
Thread Tools

Looking for a starting point

 
 
printdude1968@gmail.com
Guest
Posts: n/a
 
      12-31-2006
I need to write a Java program which is your standard Add/Change/Delete
GUI. Can anyone recommend a book or website (besides the Sun tutorial)
that can help me get a start. Should I approach it top down or bottom
up? I have a pretty good idea what I want the structure of it to look
like, but coming from a procedural language background, I'm hoping some
of the folks in this group have written similar code and can point me
to a good place to start.

Thanks....

And Happy New Year from the East Coast of Canada

 
Reply With Quote
 
 
 
 
jupiter
Guest
Posts: n/a
 
      12-31-2006

<> wrote in message
news: oups.com...
>I need to write a Java program which is your standard
>Add/Change/Delete
> GUI. Can anyone recommend a book or website (besides the Sun
> tutorial)
> that can help me get a start. Should I approach it top down or
> bottom
> up? I have a pretty good idea what I want the structure of it to
> look
> like, but coming from a procedural language background, I'm
> hoping some
> of the folks in this group have written similar code and can
> point me
> to a good place to start.
>
> Thanks....
>
> And Happy New Year from the East Coast of Canada
>


Hey, I'll be curious to see what gets recommended. I borrowed a
Swing book and can't remember the name of it, but it was
indispensable. So was Google/API. The GUI stuff was much more
OOP-rigorous than what I had expected. There is craploads of
method overrwrites to do, at least if you're foolish enough to do
what I did: Editable table that could be persisted to file after
changes. Oh, what fun - fancy colors and fonts for alternate rows,
the whole nine yards. It's pretty, damn it, and it works. But it
was like descending into the realm of the absurd to get it to work
right. It's like fifty times more fun than any man should be
allowed to have.



 
Reply With Quote
 
 
 
 
Paul Hamaker
Guest
Posts: n/a
 
      12-31-2006
http://javalessons.com/cgi-bin/fun/j...=gui&ses=ao789
--
http://javalessons.com Paul Hamaker, SEMM
Teaching ICT since 1987

 
Reply With Quote
 
Rhino
Guest
Posts: n/a
 
      12-31-2006

<> wrote in message
news: oups.com...
>I need to write a Java program which is your standard Add/Change/Delete
> GUI. Can anyone recommend a book or website (besides the Sun tutorial)
> that can help me get a start. Should I approach it top down or bottom
> up? I have a pretty good idea what I want the structure of it to look
> like, but coming from a procedural language background, I'm hoping some
> of the folks in this group have written similar code and can point me
> to a good place to start.
>
> Thanks....
>

I'd say the answer depends to some extent on what kind of prograqm you are
writing.

Is this an application, applet, midlet, or servlet? If it is a servlet, I
suppose most people would recommend some kind of framework, although I'm not
sure which ones are fashionable at the moment. For applets or midlets, you'd
probably get a different answer than for servlets and I applications might
get you a different answer again.

> And Happy New Year from the East Coast of Canada
>

Same to you from the center (more-or-less) of Canada

--
Rhino


 
Reply With Quote
 
John O'Conner
Guest
Posts: n/a
 
      12-31-2006
wrote:
> I need to write a Java program which is your standard Add/Change/Delete
> GUI. Can anyone recommend a book or website (besides the Sun tutorial)
> that can help me get a start. Should I approach it top down or bottom
> up? I have a pretty good idea what I want the structure of it to look
> like, but coming from a procedural language background, I'm hoping some
> of the folks in this group have written similar code and can point me
> to a good place to start.
>


The article ""Using Java DB in Desktop Applications"
(http://java.sun.com/developer/techni...esktop/javadb/)
has Add/Change/Delete buttons in its GUI. I can't say that the GUI
follows best practices for visual design, but the application has
standard event handlers for those buttons, and it demonstrates how to
link a GUI's components with their handlers. Might be useful.

The only significant problem with this particular GUI is that it
performs DB queries on the Swing event dispatch thread. Typically that
is a problem since GUIs can become sluggish or unresponsive. In this
demo, the db is local and extremely small, so no perceived problems
exist. You might consider Java SE 6's SwingWorker class to offload
long-running tasks from the GUI...the subject of my next article on
java.sun.com coming in mid January.

Regards,
John O'Conner
 
Reply With Quote
 
John O'Conner
Guest
Posts: n/a
 
      12-31-2006
John O'Conner wrote:

> The article ""Using Java DB in Desktop Applications"
> (http://java.sun.com/developer/techni...esktop/javadb/)
> has Add/Change/Delete buttons in its GUI.


What I really meant to say is this:

The article's demo application has Add/Change/Delete buttons...
The demo's source code is available for download too.

--
John O'Conner
 
Reply With Quote
 
Greg R. Broderick
Guest
Posts: n/a
 
      12-31-2006
"" <> wrote in
news: oups.com:

> I need to write a Java program which is your standard Add/Change/Delete
> GUI. Can anyone recommend a book or website (besides the Sun tutorial)
> that can help me get a start. Should I approach it top down or bottom
> up? I have a pretty good idea what I want the structure of it to look
> like, but coming from a procedural language background


I'd recommend that you first concentrate on learning object-oriented
programming and design before attempting something such as this, otherwise,
you'll just be writing procedural code in an object-oriented language's
clothing, and Java isn't particularly suitable for writing procedural code.

For books, you haven't told us enough about your current level of
expertise, but a generally good beginner's book is _Thinking_In_Java_ by
Bruce Eckel. Much of the book is available for free download on his web
site. This book will be a good starting point on the Java language as well
as a decent introduction to object-oriented programming.


Cheers!
GRB

--
---------------------------------------------------------------------
Greg R. Broderick gregb+

A. Top posters.
Q. What is the most annoying thing on Usenet?
---------------------------------------------------------------------
 
Reply With Quote
 
printdude1968@gmail.com
Guest
Posts: n/a
 
      01-01-2007
I would say that despite having taken a couple of courses in Java, I am
still learning. I have written one program that I am using to parse an
XML file for certain pieces of information. It used JDom to ensure
well-formednes. While my experience may be limited, I have several
books on Java Development, including Thinking In Java, as well as a
number of other O'Reilly and Head First books. I was thinking that JSP
may almost be a better solution to the issue. I don't really "need" a
fancy GUI, just one that will let someone add to, change and delete
from an XML file. JSP might do the trick. However, my level of
experience in JSP is even lower than JAVA.

Thanks for your input.
Greg R. Broderick wrote:
> "" <> wrote in
> news: oups.com:
>
> > I need to write a Java program which is your standard Add/Change/Delete
> > GUI. Can anyone recommend a book or website (besides the Sun tutorial)
> > that can help me get a start. Should I approach it top down or bottom
> > up? I have a pretty good idea what I want the structure of it to look
> > like, but coming from a procedural language background

>
> I'd recommend that you first concentrate on learning object-oriented
> programming and design before attempting something such as this, otherwise,
> you'll just be writing procedural code in an object-oriented language's
> clothing, and Java isn't particularly suitable for writing procedural code.
>
> For books, you haven't told us enough about your current level of
> expertise, but a generally good beginner's book is _Thinking_In_Java_ by
> Bruce Eckel. Much of the book is available for free download on his web
> site. This book will be a good starting point on the Java language as well
> as a decent introduction to object-oriented programming.
>
>
> Cheers!
> GRB
>
> --
> ---------------------------------------------------------------------
> Greg R. Broderick gregb+
>
> A. Top posters.
> Q. What is the most annoying thing on Usenet?
> ---------------------------------------------------------------------


 
Reply With Quote
 
Andrew Thompson
Guest
Posts: n/a
 
      01-01-2007
wrote:

...top-posted a reply to a person who's sig. contains the words..

> > A. Top posters.
> > Q. What is the most annoying thing on Usenet?
> > ---------------------------------------------------------------------


(in case you missed it)

Andrew T.

 
Reply With Quote
 
printdude1968@gmail.com
Guest
Posts: n/a
 
      01-01-2007

Andrew Thompson wrote:
> wrote:
>
> ..top-posted a reply to a person who's sig. contains the words..
>
> > > A. Top posters.
> > > Q. What is the most annoying thing on Usenet?
> > > ---------------------------------------------------------------------

>
> (in case you missed it)
>
> Andrew T.


Opps...my bad...sorry

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Share-Point-2010 ,Share-Point -2010 Training , Share-point-2010Hyderabad , Share-point-2010 Institute Saraswati lakki ASP .Net 0 01-06-2012 06:39 AM
3 ESSENTIAL TOOLS FOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLSFOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLS FOR STARTING ANDMAINTAINING... Oanh Bui C++ 0 04-27-2009 12:51 PM
3 ESSENTIAL TOOLS FOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLSFOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLS FOR STARTING ANDMAINTAINING... Oanh Bui C Programming 0 04-27-2009 12:51 PM
3 ESSENTIAL TOOLS FOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLSFOR STARTING AND MAINTAINING...3 ESSENTIAL TOOLS FOR STARTING ANDMAINTAINING... Oanh Bui Python 0 04-27-2009 12:46 PM
Scenario 5: IS-IS routing on Frame Relay Multi-point and Point-to-Point David Sudjiman Cisco 0 06-08-2006 09:11 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57