Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » flame bait (newbie SWT question)
flame bait (newbie SWT question) [message #446881] Sun, 05 December 2004 00:10 Go to next message
Ben Clarke is currently offline Ben ClarkeFriend
Messages: 11
Registered: July 2009
Junior Member
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] Sun, 05 December 2004 03:32 Go to previous messageGo to next message
Daniel Spiewak is currently offline Daniel SpiewakFriend
Messages: 263
Registered: July 2009
Senior Member
<!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.&nbsp; The class you're looking for is
org.eclipse.swt.widgets.Composite&nbsp; It's the superclass of a lot of
other widget containers like ToolBar, CoolBar, Canvas, etc.&nbsp; 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)).&nbsp; 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...&nbsp; 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 #446887 is a reply to message #446882] Sun, 05 December 2004 19:11 Go to previous messageGo to next message
Ben Clarke is currently offline Ben ClarkeFriend
Messages: 11
Registered: July 2009
Junior Member
Daniel Spiewak wrote:
> 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.
>
> Daniel

Thanks so much Daniel, I'm off and running now.

B.
Re: flame bait (newbie SWT question) [message #446935 is a reply to message #446881] Mon, 06 December 2004 17:23 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
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
Re: flame bait (newbie SWT question) [message #446950 is a reply to message #446935] Tue, 07 December 2004 03:19 Go to previous messageGo to next message
Ben Clarke is currently offline Ben ClarkeFriend
Messages: 11
Registered: July 2009
Junior Member
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
Re: flame bait (newbie SWT question) [message #447001 is a reply to message #446950] Tue, 07 December 2004 16:02 Go to previous messageGo to next message
Mark McLaren is currently offline Mark McLarenFriend
Messages: 45
Registered: July 2009
Member
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
Re: flame bait (newbie SWT question) [message #447062 is a reply to message #447001] Wed, 08 December 2004 04:36 Go to previous message
Ben Clarke is currently offline Ben ClarkeFriend
Messages: 11
Registered: July 2009
Junior Member
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.
Previous Topic:Why FileDialog's setFilterExtensions() did not work in Linux gtk?
Next Topic:Palette look how-to and plotting
Goto Forum:
  


Current Time: Sat Oct 24 09:38:53 GMT 2020

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

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

Back to the top