Armenian Knowledge Base  

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

Reply
 
LinkBack Thread Tools
Old 24.01.2005, 16:47   #1
Дошкольник
 
Join Date: 08 2004
Location: Oxford
Age: 38
Posts: 141
Downloads: 0
Uploads: 0
Reputation: 0 | 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?
Reply With Quote
Old 24.01.2005, 17:16   #2
Дошкольник
 
Join Date: 08 2004
Location: Oxford
Age: 38
Posts: 141
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

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

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 13:11.


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