[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Supported Swing Components
Hi,
I played around with that a while ago, and for all I know you have
to create them by hand. The best way to do this, is to insert a
CustomView
with Interface builder, create an outlet in your FilesOwner and connect
the outlet to the CustomView. You have to change the class of the
CustomView
to JPanel. I think to do this, you have to tell InterfaceBuilder about
JPanel
by subclassing NSView and naming the class JPanel and checking "Java" in
the
inspector of the class. Then you can programatically build up your
TabbedPane
or JTree. By the way, look at EntityViewer Example. They build up a
TabbedPane
in a CustomView (it is marked EOView, but EOView is just a subclass of
JPanel)
Hope that helps
Christian
Jost Boekemeier wrote:
>
> Hi,
>
> when creating a JavaClient with the InterfaceBuilder how do I create the
> following swing components:
>
> Tabbed pane
> Tool bar
> Menu
> Tool tip
> Tree
>
> Regards,
> Jost