Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » [Ann] SWTSwing Release 0.0011 is out!
[Ann] SWTSwing Release 0.0011 is out! [message #375460] Wed, 15 October 2003 14:15 Go to next message
Eclipse UserFriend
Hi all,

Some news of SWTSwing, the port of SWT to Swing!

-- Release 0.0011 is out --

There is more work on SWTSwing. Many threading (freezing) issues are
corrected, as well as some scroll pane problems.
The developpers of iRATE (http://irate.sourceforge.net) are thinking about
using SWTSwing! They currently maintain a Swing implementation in addition
to the SWT one. I worked with them to solve most of the SWTSwing issues and
now iRATE runs pretty well with it!

* What is SWTSwing:
This port replaces the native libraries by Swing, which will allow to use
Swing components in SWT implementations and vice-versa, and also allows SWT
applications to run on non-supported configurations (as long as they have
JRE 1.4 installed).
It consists in "swt.jar" that you place instead of the environment specific
one.
It works for some basic applications, but still needs some work. Do not
expect it to work on too complex applications for now.
Website: http://chrriis.brainlex.com/projects/swtswing

* Download:
SWTSwing is here: http://sourceforge.net/projects/swtswing
The site proposes to dowload:
- swt.zip: contains the library "swt.jar"
- swtsrc.zip: contains the sources of the library "swt.jar"
- swttest.zip: contains the "swt.jar" test suite, based on the Eclipse code
snippets. Useful for any SWT port developper.
- swttestsrc.zip: contains the sources of the "swt.jar" test suite.

* Changes in Release 0.0011:
- Tool items fire events.
- Tool items RADIO and CHECK style are working correctly.
- Disposing a component removes it from the parent.
- Table in scroll pane is modified to work correctly.
- Adding a column to a table shifts data correctly.
- Setting the selection of a text field is added.
- Attempt to speed up the event queue.
- Caret positioning for text fields implemented.
- Text field support the echo character, which makes it a password field.
- Disposing a window was not done in proper thread.
- Hiding a window no longer tries to set some Windows specific flags.
- Deffered events are not executed in the event thread anymore.
- Events are sent outside the GUI thread, except if it is the Close event.
- Running deferred events is done also before dispatching GUI stuff.
- Adding a column does not lose previously defined widths.
- Table background is now the same as the cells background.
- Toolbars support flat style for some components.
- Arm event is sent for menu items when mouse is over.
- Drop down style for tool items is working better.
- Some code added to try to avoid some thread concurrency problem.

* Some important issues:
- Some exceptions occur but they do not generate any problem. Still, I will
correct it in the future.
- Image handling is basic, just for me to continue overall development. This
is not a final implementation and will probably need complete replacement.
- Code quality is not yet the best, as I type directly in the windows port.
Anyway, it is improving as the development progresses.

* Contributions:
I welcome any good developers willing to help. Just send me an e-mail!

Have fun!
-Christopher
chrriis@brainlex.com
Re: [Ann] SWTSwing Release 0.0011 is out! [message #375520 is a reply to message #375460] Fri, 17 October 2003 05:57 Go to previous messageGo to next message
Eclipse UserFriend
Hey,

Congrats for the release and keep up the good work!

FYI, another project that does just the opposite of yours; GPL (as of yet),
unfortunately:
http://sourceforge.net/projects/swingwt/


"Christopher Deckers" <chrriis@brainlex.com> wrote in message
news:bmk2og$q01$1@eclipse.org...
> Hi all,
>
> Some news of SWTSwing, the port of SWT to Swing!
>
> -- Release 0.0011 is out --
>
> There is more work on SWTSwing. Many threading (freezing) issues are
> corrected, as well as some scroll pane problems.
> The developpers of iRATE (http://irate.sourceforge.net) are thinking about
> using SWTSwing! They currently maintain a Swing implementation in addition
> to the SWT one. I worked with them to solve most of the SWTSwing issues
and
> now iRATE runs pretty well with it!
>
> * What is SWTSwing:
> This port replaces the native libraries by Swing, which will allow to use
> Swing components in SWT implementations and vice-versa, and also allows
SWT
> applications to run on non-supported configurations (as long as they have
> JRE 1.4 installed).
> It consists in "swt.jar" that you place instead of the environment
specific
> one.
> It works for some basic applications, but still needs some work. Do not
> expect it to work on too complex applications for now.
> Website: http://chrriis.brainlex.com/projects/swtswing
>
> * Download:
> SWTSwing is here: http://sourceforge.net/projects/swtswing
> The site proposes to dowload:
> - swt.zip: contains the library "swt.jar"
> - swtsrc.zip: contains the sources of the library "swt.jar"
> - swttest.zip: contains the "swt.jar" test suite, based on the Eclipse
code
> snippets. Useful for any SWT port developper.
> - swttestsrc.zip: contains the sources of the "swt.jar" test suite.
>
> * Changes in Release 0.0011:
> - Tool items fire events.
> - Tool items RADIO and CHECK style are working correctly.
> - Disposing a component removes it from the parent.
> - Table in scroll pane is modified to work correctly.
> - Adding a column to a table shifts data correctly.
> - Setting the selection of a text field is added.
> - Attempt to speed up the event queue.
> - Caret positioning for text fields implemented.
> - Text field support the echo character, which makes it a password field.
> - Disposing a window was not done in proper thread.
> - Hiding a window no longer tries to set some Windows specific flags.
> - Deffered events are not executed in the event thread anymore.
> - Events are sent outside the GUI thread, except if it is the Close event.
> - Running deferred events is done also before dispatching GUI stuff.
> - Adding a column does not lose previously defined widths.
> - Table background is now the same as the cells background.
> - Toolbars support flat style for some components.
> - Arm event is sent for menu items when mouse is over.
> - Drop down style for tool items is working better.
> - Some code added to try to avoid some thread concurrency problem.
>
> * Some important issues:
> - Some exceptions occur but they do not generate any problem. Still, I
will
> correct it in the future.
> - Image handling is basic, just for me to continue overall development.
This
> is not a final implementation and will probably need complete replacement.
> - Code quality is not yet the best, as I type directly in the windows
port.
> Anyway, it is improving as the development progresses.
>
> * Contributions:
> I welcome any good developers willing to help. Just send me an e-mail!
>
> Have fun!
> -Christopher
> chrriis@brainlex.com
>
>
>
Re: [Ann] SWTSwing Release 0.0011 is out! [message #375548 is a reply to message #375520] Fri, 17 October 2003 11:35 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ivan,

I heard about the SwingWT project some time ago, but it is nice to remind me
of its existence.
I personaly like the idea of Swing over SWT, but I feel that all the bugs of
Swing should not be transposed.

It would be a good oportunity to re-create a good Swing like layer but a
cleaner one. Swing has a certain history, and some of its API is or should
be deprecated.

For my SWTSwing port, I do not have much time so it does not move forward so
fast. Hopefully one day I will reach the Fox port maturity :)

-Christopher


"Ivan Markov" <ivanm@wizcom.bg> a
Re: [Ann] SWTSwing Release 0.0011 is out! [message #375550 is a reply to message #375548] Fri, 17 October 2003 11:49 Go to previous messageGo to next message
Eclipse UserFriend
For several months (since the beginning of the summer) I do not have much
time either, which is pretty unfortunate, as I am confident SWT/Fox does
have its place..

The really bad thing is that there are no people among the potential users
that have the required skills and that would like to delve into the code and
fix stuff..

/Ivan

"Christopher Deckers" <chrriis@brainlex.com> wrote in message
news:bmp23p$5o1$1@eclipse.org...
> Hi Ivan,
>
> I heard about the SwingWT project some time ago, but it is nice to remind
me
> of its existence.
> I personaly like the idea of Swing over SWT, but I feel that all the bugs
of
> Swing should not be transposed.
>
> It would be a good oportunity to re-create a good Swing like layer but a
> cleaner one. Swing has a certain history, and some of its API is or should
> be deprecated.
>
> For my SWTSwing port, I do not have much time so it does not move forward
so
> fast. Hopefully one day I will reach the Fox port maturity :)
>
> -Christopher
>
>
> "Ivan Markov" <ivanm@wizcom.bg> a
Re: [Ann] SWTSwing Release 0.0011 is out! [message #375552 is a reply to message #375550] Fri, 17 October 2003 11:55 Go to previous messageGo to next message
Eclipse UserFriend
Yes, I know what you mean. Skilled people are hard to find, especially to
work on a project they did not start :)

Would you join someone else's project? Would I?
I am so busy with all my past/present/future projects that I guess I could
not. Most of the skilled programmers have their heads full of projects
already!

-Christopher


"Ivan Markov" <ivanm@wizcom.bg> a
Re: [Ann] SWTSwing Release 0.0011 is out! [message #375695 is a reply to message #375552] Fri, 17 October 2003 12:33 Go to previous messageGo to next message
Eclipse UserFriend
As a matter of fact, I would. :-)

If only I had a bit of free time, I would delegate it to Ant cpptasks.

Using Ant + the <cc> task to compile C/C++ projects is soo much easier than
the regular GNU autoconf mess (SWT/Fox's native part initialy used
autoconf), that I would be very excited to see the <cc> task stabilized and
part of Ant's standard distribution.

But I think I'm way off-topic already.

/Ivan


"Christopher Deckers" <chrriis@brainlex.com> wrote in message
news:bmp37v$70t$1@eclipse.org...
> Yes, I know what you mean. Skilled people are hard to find, especially to
> work on a project they did not start :)
>
> Would you join someone else's project? Would I?
> I am so busy with all my past/present/future projects that I guess I could
> not. Most of the skilled programmers have their heads full of projects
> already!
>
> -Christopher
>
>
> "Ivan Markov" <ivanm@wizcom.bg> a
Re: [Ann] SWTSwing Release 0.0011 is out! [message #375725 is a reply to message #375695] Fri, 17 October 2003 16:05 Go to previous messageGo to next message
Eclipse UserFriend
You think ant is really that great?

If so, i'll probabely try it.
Actually I'm still using Makefiles (handwritten ;-)) and shellscripts
(together with a gcc/gcj compiler cache of course) for building

Never got convinced enough of ant to try it.

Peschmä

Am Fri, 17 Oct 2003 19:33:32 +0300 schrieb Ivan Markov:
> As a matter of fact, I would. :-)
>
> If only I had a bit of free time, I would delegate it to Ant cpptasks.
>
> Using Ant + the <cc> task to compile C/C++ projects is soo much easier
> than the regular GNU autoconf mess (SWT/Fox's native part initialy used
> autoconf), that I would be very excited to see the <cc> task stabilized
> and part of Ant's standard distribution.
>
> But I think I'm way off-topic already.
>
> /Ivan
>
>
> "Christopher Deckers" <chrriis@brainlex.com> wrote in message
> news:bmp37v$70t$1@eclipse.org...
>> Yes, I know what you mean. Skilled people are hard to find, especially
>> to work on a project they did not start :)
>>
>> Would you join someone else's project? Would I? I am so busy with all my
>> past/present/future projects that I guess I could not. Most of the
>> skilled programmers have their heads full of projects already!
>>
>> -Christopher
>>
>>
>> "Ivan Markov" <ivanm@wizcom.bg> a écrit dans le message news:
>> bmp2uc$6lg$1@eclipse.org...
>> > For several months (since the beginning of the summer) I do not have
> much
>> > time either, which is pretty unfortunate, as I am confident SWT/Fox
>> > does have its place..
>> >
>> > The really bad thing is that there are no people among the potential
> users
>> > that have the required skills and that would like to delve into the
>> > code
>> and
>> > fix stuff..
>> >
>> > /Ivan
>> >
>> > "Christopher Deckers" <chrriis@brainlex.com> wrote in message
>> > news:bmp23p$5o1$1@eclipse.org...
>> > > Hi Ivan,
>> > >
>> > > I heard about the SwingWT project some time ago, but it is nice to
>> remind
>> > me
>> > > of its existence.
>> > > I personaly like the idea of Swing over SWT, but I feel that all the
>> bugs
>> > of
>> > > Swing should not be transposed.
>> > >
>> > > It would be a good oportunity to re-create a good Swing like layer
>> > > but
> a
>> > > cleaner one. Swing has a certain history, and some of its API is or
>> should
>> > > be deprecated.
>> > >
>> > > For my SWTSwing port, I do not have much time so it does not move
>> forward
>> > so
>> > > fast. Hopefully one day I will reach the Fox port maturity :)
>> > >
>> > > -Christopher
>> > >
>> > >
>> > > "Ivan Markov" <ivanm@wizcom.bg> a écrit dans le message news:
>> > > bmoe9l$hei$1@eclipse.org...
>> > > > Hey,
>> > > >
>> > > > Congrats for the release and keep up the good work!
>> > > >
>> > > > FYI, another project that does just the opposite of yours; GPL (as
> of
>> > > yet),
>> > > > unfortunately:
>> > > > http://sourceforge.net/projects/swingwt/
>> > > >
>> > > >
>> > > > "Christopher Deckers" <chrriis@brainlex.com> wrote in message
>> > > > news:bmk2og$q01$1@eclipse.org...
>> > > > > Hi all,
>> > > > >
>> > > > > Some news of SWTSwing, the port of SWT to Swing!
>> > > > >
>> > > > > -- Release 0.0011 is out --
>> > > > >
>> > > > > There is more work on SWTSwing. Many threading (freezing) issues
> are
>> > > > > corrected, as well as some scroll pane problems. The developpers
>> > > > > of iRATE (http://irate.sourceforge.net) are
> thinking
>> > > about
>> > > > > using SWTSwing! They currently maintain a Swing implementation
>> > > > > in
>> > > addition
>> > > > > to the SWT one. I worked with them to solve most of the SWTSwing
>> > issues
>> > > > and
>> > > > > now iRATE runs pretty well with it!
>> > > > >
>> > > > > * What is SWTSwing:
>> > > > > This port replaces the native libraries by Swing, which will
>> > > > > allow
>> to
>> > > use
>> > > > > Swing components in SWT implementations and vice-versa, and also
>> > allows
>> > > > SWT
>> > > > > applications to run on non-supported configurations (as long as
> they
>> > > have
>> > > > > JRE 1.4 installed).
>> > > > > It consists in "swt.jar" that you place instead of the
>> > > > > environment
>> > > > specific
>> > > > > one.
>> > > > > It works for some basic applications, but still needs some work.
> Do
>> > not
>> > > > > expect it to work on too complex applications for now. Website:
>> > > > > http://chrriis.brainlex.com/projects/swtswing
>> > > > >
>> > > > > * Download:
>> > > > > SWTSwing is here: http://sourceforge.net/projects/swtswing The
>> > > > > site proposes to dowload:
>> > > > > - swt.zip: contains the library "swt.jar" - swtsrc.zip: contains
>> > > > > the sources of the library "swt.jar" - swttest.zip: contains the
>> > > > > "swt.jar" test suite, based on the
>> Eclipse
>> > > > code
>> > > > > snippets. Useful for any SWT port developper. - swttestsrc.zip:
>> > > > > contains the sources of the "swt.jar" test
> suite.
>> > > > >
>> > > > > * Changes in Release 0.0011:
>> > > > > - Tool items fire events.
>> > > > > - Tool items RADIO and CHECK style are working correctly. -
>> > > > > Disposing a component removes it from the parent. - Table in
>> > > > > scroll pane is modified to work correctly. - Adding a column to
>> > > > > a table shifts data correctly. - Setting the selection of a text
>> > > > > field is added. - Attempt to speed up the event queue. - Caret
>> > > > > positioning for text fields implemented. - Text field support
>> > > > > the echo character, which makes it a password
>> > > field.
>> > > > > - Disposing a window was not done in proper thread. - Hiding a
>> > > > > window no longer tries to set some Windows specific
>> flags.
>> > > > > - Deffered events are not executed in the event thread anymore.
>> > > > > - Events are sent outside the GUI thread, except if it is the
> Close
>> > > event.
>> > > > > - Running deferred events is done also before dispatching GUI
> stuff.
>> > > > > - Adding a column does not lose previously defined widths. -
>> > > > > Table background is now the same as the cells background. -
>> > > > > Toolbars support flat style for some components. - Arm event is
>> > > > > sent for menu items when mouse is over. - Drop down style for
>> > > > > tool items is working better. - Some code added to try to avoid
>> > > > > some thread concurrency problem.
>> > > > >
>> > > > > * Some important issues:
>> > > > > - Some exceptions occur but they do not generate any problem.
> Still,
>> I
>> > > > will
>> > > > > correct it in the future.
>> > > > > - Image handling is basic, just for me to continue overall
>> > development.
>> > > > This
>> > > > > is not a final implementation and will probably need complete
>> > > replacement.
>> > > > > - Code quality is not yet the best, as I type directly in the
>> windows
>> > > > port.
>> > > > > Anyway, it is improving as the development progresses.
>> > > > >
>> > > > > * Contributions:
>> > > > > I welcome any good developers willing to help. Just send me an
>> e-mail!
>> > > > >
>> > > > > Have fun!
>> > > > > -Christopher
>> > > > > chrriis@brainlex.com
>> > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > >
>> > >
>> >
>> >
>>
>>
Re: [Ann] SWTSwing Release 0.0011 is out! [message #375731 is a reply to message #375520] Fri, 17 October 2003 16:03 Go to previous messageGo to next message
Eclipse UserFriend
Am Fri, 17 Oct 2003 12:57:03 +0300 schrieb Ivan Markov:
> FYI, another project that does just the opposite of yours; GPL (as of
> yet), unfortunately:
> http://sourceforge.net/projects/swingwt/

Unfortunately a complete Swing on SWT is imho quite impossible. Too many
programs rely on functionality that cannot be provided by SWT.

My favourite sample: Lots of programs rely on the HTML-formatting
capabilities Swing provides for _every_ widget. You can display a complete
HTML file in a label. (Of course it has to be html 3.2 with...)

So it will be: Programs written _for_ Swingwt will also work on "normal"
Swing, not the desirable opposite...

Peschmä
Re: [Ann] SWTSwing Release 0.0011 is out! [message #375735 is a reply to message #375725] Sat, 18 October 2003 09:37 Go to previous messageGo to next message
Eclipse UserFriend
I think Ant is really great!
But I must admit that it is quit Java oriented, and you cannot play to much
with operating system specific commands. But you can invoke some OS specific
scripts from Ant to keep what is portable portable.

I just use it everyday, whether it is integrated with my development tools
or personal scripts. It suits perfectly my needs.

-Christopher


"Simon Rutishauser" <simon.rutishauser@gmx.ch> a
Re: [Ann] SWTSwing Release 0.0011 is out! [message #375736 is a reply to message #375731] Sat, 18 October 2003 09:42 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Actually, it can work. If you think about Swing, it is a layer on top of
AWT, which cannot provide HTML.

The basic idea is that the top containers are AWT containers, and everything
is painted inside by Swing. Whether it is SWT or AWT that provides the top
containers does not make much difference since everything will be painted.

To me, SWT provides everything that AWT provides, but adds emulated widgets
as well as operating system specific capabilities. So everything using AWT
could use SWT, including Swing.

-Christopher

"Simon Rutishauser" <simon.rutishauser@gmx.ch> a
Re: [Ann] SWTSwing Release 0.0011 is out! [message #375783 is a reply to message #375736] Sat, 18 October 2003 10:02 Go to previous messageGo to next message
Eclipse UserFriend
Yes,

but (if i don't mix things up) Swingwt actually uses SWT Button to create
a JButton. So it is not just replacing AWT with SWT but rather replacing
AWT+Swing with SWT. (Which would be really desirable)
Or am I wrong there?

Peschmä

Am Sat, 18 Oct 2003 16:42:04 +0300 schrieb Christopher Deckers:
> Hi,
>
> Actually, it can work. If you think about Swing, it is a layer on top of
> AWT, which cannot provide HTML.
>
> The basic idea is that the top containers are AWT containers, and
> everything is painted inside by Swing. Whether it is SWT or AWT that
> provides the top containers does not make much difference since everything
> will be painted.
>
> To me, SWT provides everything hat AWT provides, but adds emulated
> widgets as well as operating system specific capabilities. So everything
> using AWT could use SWT, including Swing.
>
> -Christopher
>
> "Simon Rutishauser" <simon.rutishauser@gmx.ch> a écrit dans le message
> news: pan.2003.10.17.20.03.44.334675@gmx.ch...
>> Am Fri, 17 Oct 2003 12:57:03 +0300 schrieb Ivan Markov:
>> > FYI, another project that does just the opposite of yours; GPL (as of
>> > yet), unfortunately:
>> > http://sourceforge.net/projects/swingwt/
>>
>> Unfortunately a complete Swing on SWT is imho quite impossible. Too many
>> programs rely on functionality that cannot be provided by SWT.
>>
>> My favourite sample: Lots of programs rely on the HTML-formatting
>> capabilities Swing provides for _every_ widget. You can display a
>> complete HTML file in a label. (Of course it has to be html 3.2 with...)
>>
>> So it will be: Programs written _for_ Swingwt will also work on "normal"
>> Swing, not the desirable opposite...
>>
>> Peschmä
Re: [Ann] SWTSwing Release 0.0011 is out! [message #375785 is a reply to message #375735] Sat, 18 October 2003 09:58 Go to previous messageGo to next message
Eclipse UserFriend
Am Sat, 18 Oct 2003 16:37:05 +0300 schrieb Christopher Deckers:
> I think Ant is really great!
> But I must admit that it is quit Java oriented, and you cannot play to
> much with operating system specific commands. But you can invoke some OS
> specific scripts from Ant to keep what is portable portable.
>
> I just use it everyday, whether it is integrated with my development tools
> or personal scripts. It suits perfectly my needs.

Java-Orientation is no problem with me.

I'm only concerned about getting it to work with GCJ. Do I need a special
taks-set for that (like the cpptask Ivan's using for running GCC) or is
there an easy way?

Peschmä
Re: [Ann] SWTSwing Release 0.0011 is out! [message #375790 is a reply to message #375783] Sun, 19 October 2003 04:02 Go to previous messageGo to next message
Eclipse UserFriend
I haven't studied much what SwingWT is doing. I assumed it was doing the
same as Swing, i.e. drawing everything.
If they don't draw everything, then they won't be able to reproduce Swing
API, like Look and feels and so on.

Personally, I do really fancy effects with Swing, so I would not like the
idea of replacing Swing and AWT by SWT since it is too limiting. I prefer
having two choices: SWT or Swing (whether on top of AWT or SWT)

-Christopher

"Simon Rutishauser" <simon.rutishauser@gmx.ch> a
Re: [Ann] SWTSwing Release 0.0011 is out! [message #375792 is a reply to message #375785] Sun, 19 October 2003 04:06 Go to previous message
Eclipse UserFriend
Well, you can use the exec task to invoke external commands along with their
arguments. Actually, maybe someone has made a task for GCJ already and if
not, probably some other people would like to have it.

-Christopher

"Simon Rutishauser" <simon.rutishauser@gmx.ch> a
Previous Topic:how to visit object in composite
Next Topic:BiDi support in SWT
Goto Forum:
  


Current Time: Sat Nov 01 14:41:25 EDT 2025

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

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

Back to the top