FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Without main method, how to transfer control from one module to another?

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
henryas



Joined: 02 Nov 2009
Posts: 2

PostPosted: Mon Nov 02, 2009 6:05 am    Post subject: Without main method, how to transfer control from one module to another? Reply with quote

Hello all,

I am new to netbeans platform, so sorry if my question sounds ridiculous.

My understanding is that Netbeans does not recognize main class. Thus, I think it would be quite impossible to execute the application in more-or-less a linear fashion. I have this application that contains many modules. Each module handles specific task such as login and user management functions, reminder function, main application function, etc. Now, my problem is how to connect all these modules, especially with netbeans platform not supporting main application class.

For instance, when user starts the application, the login module would appear. Once user has logged in, the login TopComponent would close itself, and transfer control to another module. Once that module has done its work, it would close itself and transfer control to yet another module, etc.

Is there any standard way to handle this kind of task in Netbeans platform?

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB