This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


JavaRanch » Java Forums » Java » Java in General
Bookmark "regarding object creation at runtime" Watch "regarding object creation at runtime" New topic
Author

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
Bartender

Joined: Sep 20, 2010
Posts: 3986
    
  18

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: 4347
    
    2

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.


SCJP
Visit my download page
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19728
    
  10

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?
 
Have you checked out Aspose?
 
subject: regarding object creation at runtime
 
It's not a secret anymore!