Login | Register
My pages Projects Community openCollabNet

Discussions > dev > FigTextEditor Patch > Reply to message

gef
Reply to message

* = Required fields
* Subject
* Body
Attachments
Send reply to
Topic
Author (directly in email)
Please type the letters in the image above.

Original message

Author hudsonb
Full name Brian Hudson
Date 2008-04-23 18:08:36 PDT
Message Hello,

Attached is a small path to FigTextEditor.

As can be seen in the patch, I've simply changed the constructor to search
up the component hierarchy for an instance of RootPaneContainer instead of
JFrame (JFrame implements the RootPaneContainer interface).

This allows the layeredPane to be located correctly in situations where GEF
may be embedded such as within a JApplet or within SWT using the SWT_AWT
bridge.

Thanks,

Brian