simple non JTable tables
I use HTML alot and am now trying my hand at java. Now, with html i can create a simple table without headings, borders and this allows me to align and setup a framework for a webpage. How can I do this in java? I tried using JTable but that had draggable headings, selectable rows. I dont want that. I just want to be able to align text, set widths of columns, etc. Does anyone know a way to do this?
[408 byte] By [
Sr.Slicea] at [2007-10-2 16:47:56]

To be frank a comparison of HTML tables to JTables is not overly encouraging. Java is a programming language. HTML is a markup language for describing how to display documents. Java is a multi-faceted and powerful tool. HTML is not.
If you want to learn by all means go ahead but I am not sure you are really looking for a fully fledged programming language here. In the end you can do whatever it is you want to do but I suspect it may be overkill for what you are trying to accomplish.
If you want to continue start here http://java.sun.com/docs/books/tutorial/uiswing/components/table.html
You might want to look into the [url=https://tablelayout.dev.java.net/]TableLayout[/url] layout manager at java.net.
I would advise running through the Swing tutorial on this site or buying a Swing book (there are many to choose from- I like Vorobiev's book.)
Good luck.
-Filestream
> See in Java you have filestream. You don't have that
> in HTML. The question is, is it wanted?
>
> Are you strongly averse to music from the 80's?
What I am averse to, are the surfeit [url=http://news.bbc.co.uk/2/hi/south_asia/4877034.stm]wardrobe malfunctions[/url]. Can't a model do their little strut on the catwalk without being too sexy for their clothes?
> > See in Java you have filestream. You don't have
> that
> > in HTML. The question is, is it wanted?
> >
> > Are you strongly averse to music from the 80's?
>
> What I am averse to, are the surfeit
> [url=http://news.bbc.co.uk/2/hi/south_asia/4877034.st
> m]wardrobe malfunctions[/url]. Can't a model do
> their little strut on the catwalk without being too
> sexy for their clothes?
At least they [url=http://www.philly.com/mld/inquirer/sports/14264484.htm]can find a dry cleaner[/url]. Class act that guy.