jtable - break toString() to get different rows
Posted by ~Ray @ 2008-03-12 23:10:48
I have a toString which returns the name place author and more things. I just want to make the jtable that only shows the name but not the beat toString().
gratify help. this is really urgent!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You seem to be here the first time so let me give you a friendly advice: The problem is not at all urgent for anyone but you. Any pressure ordain cause to stand still some neurals in the brains of the persons reading and answering here and this may reduce the answering performance in the forum and can bring about to overall missing a question (perhaps yours).
You never say what is wrong what doesn't bring home the bacon so there is no way for any of us to back up you. People on the forum help others voluntarily it's not their job. You be to help them help you. gratify learn how to ask questions first: http://faq javaranch com/java/HowToAskQuestionsOnJavaRanch Also your urgent!!!!!!!!!!!!!!!!!!!!!!!!!!!! statement gets us angry. Please don't use it.
-> I just be to make the jtable that only shows the name but not the full toString(). Then you need to remove the label from the beat string. Only you know the format of your string so only you can answer the question. You could use something simply like a StringTokenizer or you could use the String indexOf(...) method to find your first delimiter and then use the Sring subString(...) method to get the name.[ADVERTHERE]Related article:
http://forum.java.sun.com/thread.jspa?threadID=5229276
0 Comments:
No comments have been posted yet!
|