i have been developing applets for a month or so and they work great but now i am trying to create different classes and be able to call the other classess for examble i have a login class and once that is validated i want the applet to be cleared and my MainMenu applet to be run and from there be able to call other applets by clicking next or enter i have not been able to accomplish this if anyone could please help i would be extremely greatefull
If I am not mistaken you can set up several GUI's and then trigger a switch between the by changing the content pane of your main window. Kind of like this: You have a JFrame as the main window. You make up several JPanels with different guis. You can use the setContentPane method of JFrame to switch between them. HTH,
Jason R. Kretzer<br />Software Engineer<br />System Administrator<br /><a href="http://alia.iwarp.com" target="_blank" rel="nofollow">http://alia.iwarp.com</a>
This might be too simple of an answer, but I'll throw it out any way. Why not change the layout manager of your applet to CardLayout since it is designed to easily switch the panel displayed in your gui?
I think what you really want to do is to use new frames rather than a whole new applet. Rather that calling a standalone applet it would be better to have all the GUI for your application in different classes (rather than applets) and either (as previously mentioned) use card layout or the show() / hide() of the JFrame / whichever class to display / remove each GUI component.
The Eagle sneers at the Peacock<p>Systems Administrator<br />OrderWare Solutions Ltd<br /><a href="http://www.orderware.net" target="_blank" rel="nofollow">http://www.orderware.net</a>
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com