--- Charles Yates <[EMAIL PROTECTED]> wrote:
> Hi,
>   I've been working on a avalonized (Fortress) gui thing.  The way I've 
> dealt with this is having a 'SwingView' service that has the method 
> 'public java.awt.Component getComponent()'.  The implementation has a 
> member variable that is the Component rather than being one itself
> 
> Charles
> 
> J Aaron Farr wrote:
> 

I was just trying that out and it seems to work.  

The only thing I don't like about it is that my component doesn't have to be
Swing based.  It could be and HTML-type component or something like that.  It
just so happens this implementation is Swing.  

Now I could have the getComponent() [I used the exact same name], return just
an Object which I can cast into a java.awt.Component or whatever, but the HTML
componets doen't have anything similar.  

This will work, but I wish there were another way.

jaaron

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

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

Reply via email to