Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Opening a new web page from inside an applet

0 views
Skip to first unread message

pdkgpzn...@mailinator.com

unread,
Aug 11, 2004, 7:33:35 AM8/11/04
to
I am exploring Java applets in browsers.
Now I have an applet running in the
virtual machine, with buttons and the like.
When I push a button on the applet,
I'd like that the browser loads
a given web page. Where can I get
more information on how to do this?

jon

FISH

unread,
Aug 12, 2004, 7:34:24 AM8/12/04
to
pdkgpzn...@mailinator.com wrote in message news:<828cb1da.04081...@posting.google.com>...

applet.getAppletContext().showDocument(URL) --> current window/frame
applet.getAppletContext().showDocument(URL,String) --> named window/frame


-FISH- ><>

pdkgpzn...@mailinator.com

unread,
Aug 18, 2004, 8:03:27 AM8/18/04
to

> I am exploring Java applets in browsers.

Is this possible without using javascript?

jon

zoopy

unread,
Aug 19, 2004, 6:36:49 AM8/19/04
to

Andrew Thompson

unread,
Aug 19, 2004, 10:21:29 AM8/19/04
to
On Thu, 19 Aug 2004 12:36:49 +0200, zoopy wrote:

I see you obviously have the hang of preserving long
URL's (pity more people don't), but would point out
you can trim a lot of the fat off Google thread URL's.

Generally all is needed is some variant of 'google'
followed by 'groups', the 'th' parameter and the anchor.

Vis.
<http://google.com/groups?th=ca4c5de24b43da4a#link2>
(Same document, URL just 50 chars, as opposed to 152)

Feel free to correct my Google
URL's when I next get lazy. ;-)

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology

zoopy

unread,
Aug 19, 2004, 11:51:15 AM8/19/04
to
[removed c.l.j.programmer: thread started in c.l.j.help]

On 19-8-2004 16:21, Andrew Thompson wrote:
> I see you obviously have the hang of preserving long
> URL's (pity more people don't), but would point out
> you can trim a lot of the fat off Google thread URL's.
>
> Generally all is needed is some variant of 'google'
> followed by 'groups', the 'th' parameter and the anchor.
>

Thanks; I wanted to trim it, but I didn't know exactly which parts to remove.
[I saw you posting a short version a few days ago and had a look at various locations in Google
groups (in the basic group view, in a thread view, after a search), but only saw Google itself
generating long URLs]
--
Regards,
Z.

Andrew Thompson

unread,
Aug 19, 2004, 12:16:32 PM8/19/04
to
On Thu, 19 Aug 2004 17:51:15 +0200, zoopy wrote:
> On 19-8-2004 16:21, Andrew Thompson wrote:
..

>> you can trim a lot of the fat off Google thread URL's.
>>
>> Generally all is needed is some variant of 'google'
>> followed by 'groups', the 'th' parameter and the anchor.
..

> [I saw you posting a short version a few days ago and had a look at various locations in Google
> groups (in the basic group view, in a thread view, after a search), but only saw Google itself
> generating long URLs]

It's a bit of a 'black art'. First I get rid of
frames by opening the link to that post in a
new window. That is often a good starting point,
then I shorten the link to that message.

If the thread goes over 10 posts the simple process I
described no longer works, though sometimes the 'selm'
parameter (usually longer) can substitute for the 'th'
parameter in those cases.

Razvan

unread,
Aug 19, 2004, 12:39:10 PM8/19/04
to

This is Java code !!!

0 new messages