Re: Using tabs and getting rid of staggered lines




"geeksatlarge" <geeksatlarge@xxxxxxxxx> wrote in message
news:1131668696.139790.85240@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Rhino,
>
> Thanks, for your time. Can you point me towards the location where you
> say "The Java Tutorial has a topic on using JTables in the Swing
> section"? I can use the workout. I'm just learning Java and am
> currently using a book that doesn't explain the contents and uses of
> all the packages and classes that can be used. That would be a useful
> resource too, if it's to be found somewhere on the web.
>
> Meanwhile I'll see if I can locate some info on JTables on my own.
>
Here's a link to the current version of the Java Tutorial in it's entirety:
http://java.sun.com/docs/books/tutorial/index.html

If you look on the right hand side of the page, there is a box entitled
Tutorial Resources which has a link for downloading all or part of the
Tutorial; I normally use that to download the whole thing to my hard drive,
which gives me faster access to the information than even my DSL connection
allows. (The tutorial is undergoing regular updating - at least it used to
be! - so you will want to download it again every few months so that you
have the latest and greatest version.)

Now, if you click on "Creating a GUI with JFC/Swing" in either the online
or downloaded version of the tutorial, you'll get into the pages that deal
with the GUI classes. That whole chapter - or "trail" to use their
terminology - is worth reading if you're getting into GUI building. If you
want to get to the nuts and bolts of building specific GUI components, click
on "Using Swing Components". Then, in the resulting page, I usually click on
"A Visual Index to the Swing Components" so that you see actual realistic
pictures of the different components so that you can figure out which one
you want. In your case, you want to display a table so scroll down to the
bottom and you'll see a picture of a table; click on the "Table" link and
you'll be on this page,
http://java.sun.com/docs/books/tutorial/uiswing/components/table.html, which
gives you the tutorial on constructing JTables.

As you'll see in the very first picture of the JTable lecture, the tables
are much prettier than anything you'll ever get with Graphics.drawString().
They're also a lot more functional and flexible. But I'll leave you to
discover all the benefits on your own :-)

Have fun!

Rhino



.



Relevant Pages

  • Re: transfer binary files over network
    ... I want to "draw" a bar that indicates the progress of the download. ... In my GUI I'm using only swing components. ...
    (comp.lang.java.programmer)
  • Re: any free java gui IDEs?
    ... is also a free download. ... http://www.eclipse.org/vep/ that provide WYSIWYG GUI development. ... Sun One Studio 4 Community Edition, which is derived from Netbeans, is ... I believe that this is a complete list of free Java IDE's that include ...
    (comp.lang.java.gui)
  • Re: Inguma v0.0.4 release
    ... Added one module to check for the most common Oracle Appplications ... Server vulnerable urls. ... Screenshoots of the new QT Gui: ... buy it or download a solution FREE today! ...
    (Pen-Test)
  • Re: Putting output of a running command into a text widget on the fly
    ... I have created a GUI ... consists of two parts - GUI script itself and a download script. ... Set up an event handler to run when the channel becomes readable. ...
    (comp.lang.tcl)
  • Re: NASA World Wind Landsat for the globe
    ... `>> World Wind lets you zoom from satellite altitude into any place on ... `> As discussed elsewhere in this newsgroup, 180MB download, plus ... But I found the GUI fairly nice, ...
    (sci.geo.geology)