Go Back   Armenian Knowledge Base > Technical sections > Webmaster Zone > Web Development

Reply
 
Thread Tools

Applets: getting a pointer to a peer
Old 24.01.2005, 16:47   #1
Дошкольник
 
Join Date: 08 2004
Location: Oxford
Age: 46
Posts: 141
Rep Power: 0
Default Applets: getting a pointer to a peer

Проблема с апплетами: следующий код в одном апплете должен найти указатель на другой на том же сайте:

Arbor arbor = getAppletContext().getApplet("arbor")

//arbor was declared in jsp as:
//<applet name="arbor" code="applets.Arbor".........>

Оба апплета из того же пакета. Но код срабатывает не всегда, иногда функция возвращает null. What's wrong with it?

Old 24.01.2005, 17:16   #2
Дошкольник
 
Join Date: 08 2004
Location: Oxford
Age: 46
Posts: 141
Rep Power: 0
Default

By the way: does anyone have expirience with swing in web-applets? Any restrictions?
Reply




Реклама:
реклама
Buy text link .

All times are GMT. The time now is 09:30.
Top

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.