Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Applets
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Applets
Hashtable to collect records from other Applets?
achana chan
Ranch Hand
Posts: 277
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi.
After many attempts, back to the same old question.
Is it possible to build a constructor (using Hashtable) to hold transient records from other client
applets
Hope it works this time...
+-------------------------+ | demoMenu extends JApplet| +-------------------------+ (A) select from menuitems | V +-------------------------+ |demoApplet extends JFrame| +-------------------------+ (B) agrees to rules | +----------------+-----------------+ (C) repeat | steps (A)&(B) | | V V V +--------------+ +--------------+ +--------------+ |clientAppletA | |clientAppletB | |clientAppletC | |extends JFrame| |extends JFrame| |extends JFrame| +--------------+ +--------------+ +--------------+ | | | +----------------+-----------------+ (D) user confirms an order V +----------------------------+ |confirmApplet extends JFrame| +----------------------------+ (E) store a record to | hashtable V +----------------------------+ | TXRecord (Hashtable) | +----------------------------+ (F) flush hashtable to | database V +----------------------------+ | database | + ---------------------------+ (G) purge Hashtable on successful insert
humanum errare est.
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
getApplet() throws incompatible type error ?
howto: print records from Hashtable?
Totally baffled with ArrayList throwing NullPOinterException !
ClassCastException: sun.plugin.viewer.frame.IExplorerEmbeddedFrame to ViewerFrame
and onto graphics
More...