Article View: borland.public.jbuilder.java.language
Article #16141Re: Intelligent way to do this?
From: Ron Dempster
Date: Tue, 30 Mar 1999 00:00
Date: Tue, 30 Mar 1999 00:00
56 lines
2951 bytes
2951 bytes
If you have the applet generate a new frame the frame will persist when the browsers page is
changed.
public void init()
{
java.awt.Frame frame = new Frame();
frame.setBounds(...);
// add things to frame
frame.setVisible(true);
}
This will create a frame that floats outside of the browser window. The browser is then free to
do its normal things (except close :) ) without disturbing the applet.
Hope this helps,
Ron
On Tue, 30 Mar 1999 10:45:09 -0500, Webhost Tech <android@micron.net> wrote:
>(Reply and group and sender)
>
>Rick,
>
>Good idea but if the user uses a bookmark that will cause a new "page" be loaded and flush the java applet right?
>
>Thanks.
>
>rick bragg wrote:
>
>> Webhost Tech wrote:
>>
>> > Hello,
>> >
>> > I want to have a java applet that is persistent while the user navigates
>> > the web. Some more detail: the user navigates to my IIS server's main
>> > page. That page has a java applet that is run by the user's browser.
>> > What I want to have happen is have the applet stay active while the user
>> > navigates to other web pages. Is there a way to make this happen?
>> >
>> > Thanks,
>> > Peter.
>>
>> try using javascript to make a new window. at least it will look like a
>> separate application.
>>
>> ie.
>>
>> function showGuitarPlayer() {
>> open("playWindow.html","Virtual_Guitar_Player","location=0,scrollbars=0,menuebar=0,status=1,toolbar=0,resizeable=0,width=450,height=300");
>>
>> }
>>
>> rick
>> http://www.javanet.com/~rwb/
>
Technical Details
Message-ID:
<37012d84.15740042@news>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36FFE14B.4F6CF4F8@micron.net> <36FFEFF9.FED2148A@javanet.com> <3700F185.B7521BDD@micron.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5d71,5826f704ce5f7420 X-Google-Attributes: gidf5d71,public X-Google-Thread: 108bbb,5826f704ce5f7420 X-Google-Attributes: gid108bbb,public X-Google-Thread: f5e83,5826f704ce5f7420 X-Google-Attributes: gidf5e83,public X-Google-Thread: 114aa0,5826f704ce5f7420 X-Google-Attributes: gid114aa0,public X-Google-Thread: 100145,5826f704ce5f7420 X-Google-Attributes: gid100145,public X-Google-Thread: f4581,5826f704ce5f7420 X-Google-Attributes: gidf4581,public X-Google-Thread: 10a146,5826f704ce5f7420 X-Google-Attributes: gid10a146,public X-Google-Thread: f74b3,5826f704ce5f7420 X-Google-Attributes: gidf74b3,public From: NO-SPAM-xad@NO-SPAM-home.com (Ron Dempster) Subject: Re: Intelligent way to do this? Date: 1999/03/30 Message-ID: <37012d84.15740042@news> X-Deja-AN: 460873559 References: <36FFE14B.4F6CF4F8@micron.net> <36FFEFF9.FED2148A@javanet.com> <3700F185.B7521BDD@micron.net> X-Complaints-To: abuse@home.net X-Trace: news.rdc1.md.home.com 922824462 24.3.46.252 (Tue, 30 Mar 1999 12:07:42 PDT) Organization: @Home Network NNTP-Posting-Date: Tue, 30 Mar 1999 12:07:42 PDT Newsgroups: borland.public.jbuilder.java.language,comp.lang.java.programmer,comp.lang.java.softwaretools,comp.lang.java.corba,comp.lang.java,ibm.software.vajava.language,ibm.software.vajava.enterprise,microsoft.public.java.visualj++