Hi Brian,

do you have a small example for such an Adapter?
Thanks,
Tammo 

-----Urspr�ngliche Nachricht-----
Von: Brian Bonner [mailto:[EMAIL PROTECTED] 
Gesendet: Thursday, June 02, 2005 2:21 PM
An: [email protected]
Betreff: Re: XMLBean to jTable

Tammo,  you probably need to create an XmlObjectTableModelAdapter that 
is something that takes your specific type of XMLObject (I assume you 
have a type your interested in) and then adapts it to the TableModel 
interface that JTable accepts.

Once you have that in place, you should be good to go.

HTH,

Brian



Tammo Mueller wrote:

> Hi!
>  
> I'm currently trying to find a generic way to transform a Document 
> into a JTable. Are there already approaches and
> which is the best way? I'm trying to avoid going over the DOM, because 
> I loose all Datatypes by doing that.
> I would like to  present a XMLBeans Document to the TableModel and it 
> should set values and names of the elements in the table. It should be 
> somekind of a propertysheet as I know it from 'normal' beans.
>  
> Best regards,
>  
> Tammo



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to