Skip to main content



      Home
Home » Newcomers » Newcomers » Using Swing's Frame with SWT-Project included
Using Swing's Frame with SWT-Project included [message #257055] Sat, 24 May 2008 14:46
Eclipse UserFriend
Originally posted by: alexhofi.gmx.net

Hi all,

I'm currently developing a small Java-Application with Eclipse on Mac OS
X Leopard, and plan to support different GUIs based on SWT or Swing/AWT.

But when I reference the SWT-Project (or simply reference any swt.jar as
a library), GUIs based on AWT/Swing will not work any more - even if I
don't actually use any SWT-Classes but just reference the SWT-Project.

The Window of my application will show up, but I can't focus it.

I'm not actually combining SWT and AWT code (nor using SWT_AWT or
similar), the classes using SWT or AWT get loaded on startup with a
little help of java.lang.reflect using the appropriate classname from a
static String field.

Is there any change to have the SWT libraries included and still being
able to construct a GUI based on AWT/Swing?

Thanks in advance,
Alexander Hofmann.
Previous Topic:setDoctype for outFormat does not work
Next Topic:Build dir not recognized
Goto Forum:
  


Current Time: Mon Jul 14 14:30:59 EDT 2025

Powered by FUDForum. Page generated in 0.38343 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top