Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I use SwingWT to use a Swing like API over SWT containers (Eclipse plugins)?

0
Posted

Can I use SwingWT to use a Swing like API over SWT containers (Eclipse plugins)?

0

A. Yes you can – although SwingWT closely resembles the Swing/AWT APIs, you can access the SWT widgets with a call to getSWTPeer() for any component and getComposite() for any container. This works two ways, and you can wrap up an existing SWT widget with a SwingWT one. To add a SwingWT container (eg: JPanel) to an SWT container, simply create the SWT container, then create a new swingwt.awt.Container object and assign the SWT container to it. You can then treat it like any other Swing container.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123