File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 202

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: 3649
    
  17

Hi Saral. Could you try to rephrase your question? I have no idea what problem you are facing.
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
Bartender

Joined: Oct 14, 2005
Posts: 18911
    
    8

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: http://aspose.com/file-tools
 
subject: regarding object creation at runtime