File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes regarding object creation at runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "regarding object creation at runtime" Watch "regarding object creation at runtime" New topic

regarding object creation at runtime

Saral Saxena
Ranch Hand

Joined: Apr 22, 2011
Posts: 203

Hi ,

Is this scenario is possible that I have a java class and its object is created by java applet at run time means that when I call the applet it will be mapped by the java class and its object is get created at runtime..any framework that support this kind of requirement..?
Stephan van Hulst

Joined: Sep 20, 2010
Posts: 4638

Hi Saral. Could you try to rephrase your question? I have no idea what problem you are facing.

The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4351

i also fail to understand your problem. in any applet that has more than one class the other classes get created when you start the applet.

Visit my download page
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

The title is vacuous, because objects only get created at run-time. There is no other time at which objects are created.

And generally you don't need a framework to create an object. The "new" keyword should suffice in most cases. But I'm sure you already knew about the "new" keyword, so perhaps you could explain your mysterious requirement for which it isn't good enough?
I agree. Here's the link:
subject: regarding object creation at runtime
jQuery in Action, 3rd edition