Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2006

Tip: Looking for answers? Try searching our database.

Find component in java applet structure

Thread view: 
Delorean - 29 Dec 2006 14:06 GMT
Hi.

I have an applet. Applet consist of two parts, in left there is a
navigation tree, when you push on node appropriate interface with input
fields appear on the right side of applet. Interfaces are developed in
classes  which are extended as JPanel.

Now i need to transport data from one interface to another. I need
destination interfaces object, so i can import data. Is there a way in
java how i can search for interfaces object if i know that interfaces
class name?

I know, there is possibilities to get object from
"Frame.getFrames()[0].getComponent(n)" and so on, but thing is, that
applets components hierarchy is very complicated (they are many) and i
cant find object in this way.

Can you help me in this problem?
Best regard
Delorean - 29 Dec 2006 14:41 GMT
Any one... ??
Andrew Thompson - 29 Dec 2006 14:55 GMT
> Any one... ??

Well gee.  It's sad that nobody deigned to answer
your question in the entire (checks watch) 35 minutes
since you posted it.  I think you deserve a full refund
(and a cuff around the ears for being so impatient).

If it is really that urgent, perhaps you should pay
someone enough to care about your schedule.

BTW  ..Delorean?  Wasn't that the guy smuggling
cocaine to prop up his sports car company?
Maybe you should resist snorting the 'product'.

Andrew T.
Delorean - 29 Dec 2006 15:02 GMT
Happy new year for you Andrew, i feel sorry that my post made you write
those words.

> > Any one... ??
>
[quoted text clipped - 11 lines]
>
> Andrew T.
Oliver Wong - 29 Dec 2006 16:45 GMT
> Hi.
>
[quoted text clipped - 14 lines]
>
> Can you help me in this problem?

   Have you considered having a central model which contains all the data,
and implementing your "interfaces" as views which query this data? See
http://en.wikipedia.org/wiki/Model-view-controller for more details, or
google for "Model View Controller".

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.