Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Issues with HTML Control on Mac?
Issues with HTML Control on Mac? [message #432375] Fri, 19 March 2004 20:36 Go to next message
Rob Williams is currently offline Rob WilliamsFriend
Messages: 64
Registered: July 2009
Member
We are trying to use the HTML control to embed some links in an SWT
window. Works fine on Windows. On the Mac, soon as the form is about to
open it pops up a dialog instead saying an SWT error occurred and asking
whether to close the Runtime Workbench or not.

Ideas?

Thanks.
Re: Issues with HTML Control on Mac? [message #432378 is a reply to message #432375] Fri, 19 March 2004 23:31 Go to previous messageGo to next message
Rob Williams is currently offline Rob WilliamsFriend
Messages: 64
Registered: July 2009
Member
The error it spits up (in the log) is 'no more handles'....

Rob Williams wrote:

> We are trying to use the HTML control to embed some links in an SWT
> window. Works fine on Windows. On the Mac, soon as the form is about to
> open it pops up a dialog instead saying an SWT error occurred and asking
> whether to close the Runtime Workbench or not.
>
> Ideas?
>
> Thanks.
Re: Issues with HTML Control on Mac? [message #432409 is a reply to message #432375] Sat, 20 March 2004 17:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: v.j.b

"Rob Williams" <robwms63@yahoo.com> wrote in message
news:c3flbt$ohl$1@eclipse.org...
> We are trying to use the HTML control to embed some links in an SWT
> window.

you mean the browser widget?

If it's just for displaying (clickable) links, i'd go with one of the custom
hyperlink controls that popped up on this NG couple days (weeks) ago.
Loading the entire browser widget is a bit of overkill i'd say :)
Re: Issues with HTML Control on Mac? [message #432410 is a reply to message #432409] Sat, 20 March 2004 20:00 Go to previous messageGo to next message
Rob Williams is currently offline Rob WilliamsFriend
Messages: 64
Registered: July 2009
Member
Thanks for the tip. I need both so maybe for this piece I can just use
that. Thanks.

varname wrote:
> "Rob Williams" <robwms63@yahoo.com> wrote in message
> news:c3flbt$ohl$1@eclipse.org...
>
>>We are trying to use the HTML control to embed some links in an SWT
>>window.
>
>
> you mean the browser widget?
>
> If it's just for displaying (clickable) links, i'd go with one of the custom
> hyperlink controls that popped up on this NG couple days (weeks) ago.
> Loading the entire browser widget is a bit of overkill i'd say :)
>
>
Re: Issues with HTML Control on Mac? [message #432445 is a reply to message #432409] Mon, 22 March 2004 16:57 Go to previous messageGo to next message
Rob Williams is currently offline Rob WilliamsFriend
Messages: 64
Registered: July 2009
Member
I couldn't find what you are referring to.


varname wrote:
> "Rob Williams" <robwms63@yahoo.com> wrote in message
> news:c3flbt$ohl$1@eclipse.org...
>
>>We are trying to use the HTML control to embed some links in an SWT
>>window.
>
>
> you mean the browser widget?
>
> If it's just for displaying (clickable) links, i'd go with one of the custom
> hyperlink controls that popped up on this NG couple days (weeks) ago.
> Loading the entire browser widget is a bit of overkill i'd say :)
>
>
Re: Issues with HTML Control on Mac? [message #432533 is a reply to message #432445] Mon, 22 March 2004 17:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: v.j.b

"Rob Williams" <rob.williams@intersperse.com> wrote in message
news:c3n5l9$291$1@eclipse.org...
> I couldn't find what you are referring to.

this site: http://www.novocode.com/swt/ has one particular example of a
hyperlink widget (but it appears to be platform dependent, so you might
wanna try another).

If you want some other, try the Eclipse Community pages.
Re: Issues with HTML Control on Mac? [message #432536 is a reply to message #432533] Mon, 22 March 2004 19:05 Go to previous messageGo to next message
Stefan Zeiger is currently offline Stefan ZeigerFriend
Messages: 102
Registered: July 2009
Senior Member
varname wrote:

> this site: http://www.novocode.com/swt/ has one particular example of a
> hyperlink widget (but it appears to be platform dependent, so you might
> wanna try another).

What problem are you having with the Hyperlink widget on non-Win32
platforms? It should be platform-independent.

--
Stefan Zeiger http://www.szeiger.de http://www.novocode.com
My SWT controls: http://www.novocode.com/swt
Re: Issues with HTML Control on Mac? [message #432602 is a reply to message #432536] Wed, 24 March 2004 05:03 Go to previous messageGo to next message
Rob Williams is currently offline Rob WilliamsFriend
Messages: 64
Registered: July 2009
Member
Soon as I go to open a panel that has the browser control embedded in
it, a dialog comes up saying 'SWT Error has occurred.' The log file
seems to indicate that there are no more handles...?? Same code works on
Winders.

Stefan Zeiger wrote:

> varname wrote:
>
>> this site: http://www.novocode.com/swt/ has one particular example of a
>> hyperlink widget (but it appears to be platform dependent, so you might
>> wanna try another).
>
>
> What problem are you having with the Hyperlink widget on non-Win32
> platforms? It should be platform-independent.
>
Re: Issues with HTML Control on Mac? [message #432603 is a reply to message #432536] Wed, 24 March 2004 05:21 Go to previous messageGo to next message
Rob Williams is currently offline Rob WilliamsFriend
Messages: 64
Registered: July 2009
Member
I took the browser snippet code and made a class out of it then ran it
and it threw up the no handles error, which I clicked on to be taken here:

public Browser(Composite parent, int style) {
super(parent, style);
>>>> SWT.error(SWT.ERROR_NO_HANDLES);
}

What am I missing? A constructor that registers an error in all cases?....


Stefan Zeiger wrote:

> varname wrote:
>
>> this site: http://www.novocode.com/swt/ has one particular example of a
>> hyperlink widget (but it appears to be platform dependent, so you might
>> wanna try another).
>
>
> What problem are you having with the Hyperlink widget on non-Win32
> platforms? It should be platform-independent.
>
Re: Issues with HTML Control on Mac? [message #432605 is a reply to message #432536] Wed, 24 March 2004 06:16 Go to previous messageGo to next message
Rob Williams is currently offline Rob WilliamsFriend
Messages: 64
Registered: July 2009
Member
Nevermind. Found the ugly truth: not supported. Unbelievable.

Below:

Q: Which platforms are supported by the SWT Browser?
A: The SWT Browser is currently available on the following platforms:

1. Windows (Internet Explorer 5 or above)
2. Linux GTK and Linux Motif (both using Mozilla 1.4 GTK2 - or above 1.4)

The following Linux distributions meet the Mozilla requirements for
using the Browser widget:
? RedHat Enterprise Linux 3
? Suse 9
Other Linux distributions require a supported version of Mozilla to be
installed. See instructions
3. Photon

Q: What is the state of the SWT Browser?
A: March. 10th. 2004. The SWT Browser is provided on Windows (Internet
Explorer), Linux GTK and Linux Motif (Mozilla) and Photon platforms.
Its API is frozen since M7. The focus between now and the Eclipse 3.0
release is on testing and fixing bugs in the API.



Stefan Zeiger wrote:

> varname wrote:
>
>> this site: http://www.novocode.com/swt/ has one particular example of a
>> hyperlink widget (but it appears to be platform dependent, so you might
>> wanna try another).
>
>
> What problem are you having with the Hyperlink widget on non-Win32
> platforms? It should be platform-independent.
>
Re: Issues with HTML Control on Mac? [message #432648 is a reply to message #432605] Wed, 24 March 2004 19:34 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Rob, please stay calm. That's all I am allowed to say at this time.

"Rob Williams" <rob.williams@intersperse.com> wrote in message
news:c3r8ql$nd5$1@eclipse.org...
> Nevermind. Found the ugly truth: not supported. Unbelievable.
>
> Below:
>
> Q: Which platforms are supported by the SWT Browser?
> A: The SWT Browser is currently available on the following platforms:
>
> 1. Windows (Internet Explorer 5 or above)
> 2. Linux GTK and Linux Motif (both using Mozilla 1.4 GTK2 - or above 1.4)
>
> The following Linux distributions meet the Mozilla requirements for
> using the Browser widget:
> ? RedHat Enterprise Linux 3
> ? Suse 9
> Other Linux distributions require a supported version of Mozilla to be
> installed. See instructions
> 3. Photon
>
> Q: What is the state of the SWT Browser?
> A: March. 10th. 2004. The SWT Browser is provided on Windows (Internet
> Explorer), Linux GTK and Linux Motif (Mozilla) and Photon platforms.
> Its API is frozen since M7. The focus between now and the Eclipse 3.0
> release is on testing and fixing bugs in the API.
>
>
>
> Stefan Zeiger wrote:
>
> > varname wrote:
> >
> >> this site: http://www.novocode.com/swt/ has one particular example of a
> >> hyperlink widget (but it appears to be platform dependent, so you might
> >> wanna try another).
> >
> >
> > What problem are you having with the Hyperlink widget on non-Win32
> > platforms? It should be platform-independent.
> >
>
Previous Topic:How to update a TableViewer automatically???
Next Topic:How to load a 1.5M image in SWT??
Goto Forum:
  


Current Time: Sat Apr 20 02:06:12 GMT 2024

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

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

Back to the top