Home » Eclipse Projects » Standard Widget Toolkit (SWT) » flame bait (newbie SWT question)
flame bait (newbie SWT question) [message #446881] |
Sat, 04 December 2004 19:10  |
Eclipse User |
|
|
|
Hi all,
So I've done a couple tutorials, and I've got the basics of widget
creation and threading down (IE display.asyncExec(Runnable)). However,
I cannot seem to find a widget equivalent of a javax.swing.JPanel for
instance, something which I can use as a blank space to give its own
layout, with its own widgets etc... Can anyone suggest a URL or code
snippet to show me how to nest layouts to create more complex user
interfaces?
Thanks much in advance, this stuff is WAY better than Swing/JFC
Ben
|
|
|
Re: flame bait (newbie SWT question) [message #446882 is a reply to message #446881] |
Sat, 04 December 2004 22:32   |
Eclipse User |
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="serif">Honestly, if anyone replied in favor of swing they'd
be eaten alive on this newsgroup. The class you're looking for is
org.eclipse.swt.widgets.Composite It's the superclass of a lot of
other widget containers like ToolBar, CoolBar, Canvas, etc. Any other
questions feel happy to refer to us.<br>
<br>
Daniel<br>
</font><br>
Ben Clarke wrote:
<blockquote cite="midcotjku$8vf$1@www.eclipse.org" type="cite">Hi all,
<br>
<br>
So I've done a couple tutorials, and I've got the basics of widget
creation and threading down (IE display.asyncExec(Runnable)). However,
I cannot seem to find a widget equivalent of a javax.swing.JPanel for
instance, something which I can use as a blank space to give its own
layout, with its own widgets etc... Can anyone suggest a URL or code
snippet to show me how to nest layouts to create more complex user
interfaces?
<br>
<br>
Thanks much in advance, this stuff is WAY better than Swing/JFC
<br>
<br>
Ben
<br>
</blockquote>
</body>
</html>
|
|
| | | | |
Re: flame bait (newbie SWT question) [message #447062 is a reply to message #447001] |
Tue, 07 December 2004 23:36  |
Eclipse User |
|
|
|
Mark McLaren wrote:
> Also check out the excellent article on SWT layout managers:
> http://www.eclipse.org/articles/Understanding%20Layouts/Unde rstanding%20Layouts.htm
>
>
>
> Ben Clarke wrote:
>
>> Steve Northover wrote:
>>
>>> See
>>>
> http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/dev.html#snippets
>
>
>>> for code that shows you how to do things in SWT.
>>>
>>> "Ben Clarke" <rod.parfait@gmail.com> wrote in message
>>> news:cotjku$8vf$1@www.eclipse.org...
>>>
>>>> Hi all,
>>>>
>>>> So I've done a couple tutorials, and I've got the basics of widget
>>>> creation and threading down (IE display.asyncExec(Runnable)). However,
>>>> I cannot seem to find a widget equivalent of a javax.swing.JPanel for
>>>> instance, something which I can use as a blank space to give its own
>>>> layout, with its own widgets etc... Can anyone suggest a URL or code
>>>> snippet to show me how to nest layouts to create more complex user
>>>> interfaces?
>>>>
>>>> Thanks much in advance, this stuff is WAY better than Swing/JFC
>>>>
>>>> Ben
>>>
>>>
>>>
>>>
>
>> Thanks, I found this shortly after I had posted the question... very
>> useful
>
>
>> Ben
>
>
>
Thank you, I hadn't found this yet... I guess I need to spend some more
time on eclipse.org. I'm ecstatic to finally ditch swing
Ben.
|
|
|
Goto Forum:
Current Time: Wed Jul 23 12:37:06 EDT 2025
Powered by FUDForum. Page generated in 0.33088 seconds
|