Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » new_panel() is not available in SWT_AWT class in swt.jar shipped with ECLIPSE3.1
new_panel() is not available in SWT_AWT class in swt.jar shipped with ECLIPSE3.1 [message #455648] Thu, 19 May 2005 07:07 Go to next message
Eclipse UserFriend
Originally posted by: purnachandra.visualsoft-tech.com

While migrating the existing swing application to ECLIPSE 2.0, we have
used new_panel() method in SWT_AWT bridge. But, this method is not
available in the class SWT_AWT.java in swt.jar shipped with ECLIPSE latest
version 3.1. We are hangd up here. Anyone, plz suggest any
alternative/workaround you find to this.

Thanks in advance.
Re: new_panel() is not available in SWT_AWT class in swt.jar shipped with ECLIPSE3.1 [message #455676 is a reply to message #455648] Thu, 19 May 2005 15:19 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Try new_Frame() instead.

"Purna" <purnachandra@visualsoft-tech.com> wrote in message
news:136e12cda2702f3f363afdfcadcf466e$1@www.eclipse.org...
> While migrating the existing swing application to ECLIPSE 2.0, we have
> used new_panel() method in SWT_AWT bridge. But, this method is not
> available in the class SWT_AWT.java in swt.jar shipped with ECLIPSE latest
> version 3.1. We are hangd up here. Anyone, plz suggest any
> alternative/workaround you find to this.
>
> Thanks in advance.
>
Re: new_panel() is not available in SWT_AWT class in swt.jar shipped with ECLIPSE3.1 [message #455846 is a reply to message #455676] Fri, 20 May 2005 09:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: purnachandra.visualsoft-tech.com

Thanks for the advice. But,if we use new_frame(), it opens up a new
window. Our requirement is, it should sit inside the eclipse platform. We
shouldn't get a new window.

Thanks in advance.
Re: new_panel() is not available in SWT_AWT class in swt.jar shipped with ECLIPSE3.1 [message #455985 is a reply to message #455846] Tue, 24 May 2005 14:30 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Really? Have you tried these snippets?

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet135.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet154.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet155.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

"Purna" <purnachandra@visualsoft-tech.com> wrote in message
news:ba752f5ec423e3ca2af1267bfda8470d$1@www.eclipse.org...
> Thanks for the advice. But,if we use new_frame(), it opens up a new
> window. Our requirement is, it should sit inside the eclipse platform. We
> shouldn't get a new window.
>
> Thanks in advance.
>
Re: new_panel() is not available in SWT_AWT class in swt.jar shipped with ECLIPSE3.1 [message #456185 is a reply to message #455985] Thu, 26 May 2005 10:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: purnachandra.visualsoft-tech.com

Thanks a lot Steve. This almost solved my problem. One more, can you
please let us know what is the reason in removing the new_panel() in
swt.jar from subsequent releases in Eclipse. We found this only in Eclipse
v2.1 but not there in next releases. Even in 2.1, it ws provided in
internal package. Thnaks.
Re: new_panel() is not available in SWT_AWT class in swt.jar shipped with ECLIPSE3.1 [message #456212 is a reply to message #456185] Thu, 26 May 2005 14:45 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
It was internal and unsupported. The official supported API way to do this
since 3.0 is new_Frame().

"Purna" <purnachandra@visualsoft-tech.com> wrote in message
news:42f9781cc0c464f7a040a6ec24f134b9$1@www.eclipse.org...
> Thanks a lot Steve. This almost solved my problem. One more, can you
> please let us know what is the reason in removing the new_panel() in
> swt.jar from subsequent releases in Eclipse. We found this only in Eclipse
> v2.1 but not there in next releases. Even in 2.1, it ws provided in
> internal package. Thnaks.
>
Previous Topic:how to implement selection area box..
Next Topic:Composite with SWT.BORDER on Mac Os X
Goto Forum:
  


Current Time: Thu Apr 25 07:43:23 GMT 2024

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

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

Back to the top