Is it possible to run JFrame application in web browser?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shivapadma
    New Member
    • Mar 2007
    • 40

    Is it possible to run JFrame application in web browser?

    1.JApplet application can be runned through either browser or appletviewer
    2.i want to know whether JFrame application can be runned through browser or not.

    please,someone help me....
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by shivapadma
    1.JApplet application can be runned through either browser or appletviewer
    2.i want to know whether JFrame application can be runned through browser or not.
    Nope, you need at least an Applet or a JApplet for your browser to recognize it;
    note that the JApplet class extends the JFrame class.

    kind regards,

    Jos

    Comment

    • BigDaddyLH
      Recognized Expert Top Contributor
      • Dec 2007
      • 1216

      #3
      Originally posted by JosAH
      Nope, you need at least an Applet or a JApplet for your browser to recognize it;
      note that the JApplet class extends the JFrame class.

      kind regards,

      Jos
      I'm sure Jos meant "JApplet class extends the Applet class"

      One thing you can always do in Swing is open another window: open a JDialog or JFrame. You can do this from an applet or a previous frame.

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        Originally posted by BigDaddyLH
        I'm sure Jos meant "JApplet class extends the Applet class"
        I was sure about that too but my fingers weren't; sorry about that; mea culpa and such.

        kind regards,

        Jos

        Comment

        Working...