shraddha_gupta 0 Newbie Poster

I have made my project in JApplet, Each JApplet is working fine independently. But I dont know how to link then I have a menu on the home page.

private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) {                                           
// TODO add your handling code here:
        Month mth=new Month();
        System.out.print("object created");
        try
        {
            System.out.println("Trying to start");
            this.stop();
            System.out.println("Trying to stop");
        mth.init();
        }
        catch(Exception xx){}
    }

I tried to initialize Month Applet using init() call but this is not working, plz help me with this.
Also tell me how to convert my project into jar file and how to set the starting applet in it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.