[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Showing Data from XML file into a Table Using a TableViewer

Adithya,

You'd have to bundle the necessary jars as plugins if they're not directly available in the JRE.

It's impossible for me to answer your other question given the lack of information (and my lack of time). You'll just have to take advantage of your best friend, the debugger, to help answer questions like that.


adithya wrote:
Thanks for the information.
Actually,it's a problem of JRE (as you mentioned).
JRE6 supports xml 'binding' whereas jre1.5.0_14 doesn't.(i figured that out yesterday in the 'rt.jar').
Hence,i switched to jre6 and its working , but if i still want to do it using jre1.5.0_14 ,is there a way out??



Another problem i am facing is in showing table data.

Suppose i have 5 records to show then always the most recent ,in this case its showing the last record 5 times in the table.

If i show the 1st and 2nd record its showing the 2nd record twice in the table (i am using a tableviewer)..
Actually for dummy data its working.



Suppose for 'tables' i want to show the attributes then i am passing all the attributes to the GUI as a "List"


i.e. Listobject.add(tables); where

tables = table.getTable(); where table contains all the table attributes data (obtained by unmarshalling).

could you suggest something?

Adithya.