Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Java (https://www.askmehelpdesk.com/forumdisplay.php?f=440)
-   -   Applet in jCreator (https://www.askmehelpdesk.com/showthread.php?t=253378)

  • Aug 26, 2008, 05:18 PM
    jaspreet2142
    Applet in jCreator
    Suppose my code is

    Code:

    import java.applet.*;
    import java.awt.*;

    /*<applet code = "MyApp" height = 400 width = 500></applet>*/

    public class MyApp extends Applet
    {
            public void paint(Graphics g)
            {
                    g.drawString("Hello",100,100);
            }
    }

    How do I run above code in jCreator
    I don't want to make any html file
  • Apr 18, 2009, 02:53 AM
    Kakuzoo
    Quote:

    Originally Posted by jaspreet2142 View Post
    suppose my code is

    Code:

    import java.applet.*;
    import java.awt.*;

    /*<applet code = "MyApp" height = 400 width = 500></applet>*/

    public class MyApp extends Applet
    {
            public void paint(Graphics g)
            {
                    g.drawString("Hello",100,100);
            }
    }

    how do i run above code in jCreator
    i don't want to make any html file


    I have the same query. Using Html is not even a solution to my work.If you have got the answer please post it away.

  • All times are GMT -7. The time now is 04:33 AM.