File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable" Watch "JTable" New topic
Author

JTable

prathana balaji
Ranch Hand

Joined: Oct 07, 2007
Posts: 30
Hi all,

can anyone help in converting a String into the Table format.
FOr example I have a String ="Deer Herbivorus Animal";
I just wanted to put Deer in one coulmn,Herbivourus in second column,Animal in third column.

Thanks in advance
prathana
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19761
    
  20

Look at the String.split method.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JTable