Skip to content
Advertisement

MDI in SWT on Linux?

I’d like to create an MDI application using SWT.

I’ve done extensive searches and reach that the Decorations Object is the one responsable for trying supporting behavior. However, I’ve a Linux box, and the example provided doesn’t work for me.

The output of the example provided by the above link is:

Image

However, on Linux (GTK), I see only labels without control bars or boxes!

Advertisement

Answer

You might want to take a look at the Eclipse Rich Client Platform. It’s built on SWT and gives you the full flexibility of the Eclipse User Interface (with views and editors) – and lots of other interesting stuff like a smart plug-in and modularization system or a full-fledged online help. Take a look at the RCP Mail Demo – it’s a simple demo program that shows you how to create different views and move them around. (I’d offer my tutorial, but it’s written in german. You’ll find lots of good stuff around the net.) If you’re still interested, there’s a book named Eclipse Rich Client Platform available by Jeff McAffer – excellent guide.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement