Re: [Java-gnome-developer] DataColumnObject problems
Brought to you by:
afcowie
From: Igor F. <if...@re...> - 2005-06-21 18:05:48
|
Here is a very simple test case, which shows what I was talking about in the previous email. I just create a TreeStore with a single DataColumnObject, I add a string to it, and try to get it back. Instead I get null. Did anyone else encounter this? Thanks, Igor On Mon, 2005-06-20 at 14:41 -0400, Igor Foox wrote: > Hi, > > I'm having a problem using DataColumnObjects. I have the following code: > > ___________________________________________ > TreeIter storeIter = store.appendRow(null); > > store.setValue(storeIter, referenceDataColumn, varRep); > Object obj = store.getValue(storeIter, referenceDataColumn); > System.out.println(obj); > ___________________________________________ > > Here referenceDataColumn is an object of type DataColumnObject. > >From what I understand I should be able to get my object back, however > this prints null everytime through the code. Did anyone have these > problems before, is there anything special I need to do to store my > objects in a DataColumnObject? > > Thanks, > Igor > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer |