Results 1 to 9 of 9
  1. #1
    dbashby's Avatar
    dbashby is offline Senior Member
    Join Date
    Mar 2009
    Posts
    223
    Rep Power
    6

    Question [SOLVED] App embed in webpage - netbeans 6.5

    Hi, although this may have a simple answer I am trying to embed my application into a html page. I have written a very basic html page thinking that by placing the page in the folder with all the class files, thinking that by naming the application class name into the html page, but I get an error.

    Can someone advise is there a particular way to embed the applet?

    html page code

    Java Code:
    <html>
    
    <head>
    
    <title>Fatbusters Body Mass Index Readings</title>
    
    </head>
    
    <body>
    
    <applet code="frmBmi.class" width="707" height"454"> [Java Applet]
    
    <param name="BgColor" value="adadad">
    
    </applet>
    
    </body>
    
    </html>
    frmBmi.class is the Jform

    Thanks in advance

  2. #2
    dbashby's Avatar
    dbashby is offline Senior Member
    Join Date
    Mar 2009
    Posts
    223
    Rep Power
    6

    Default

    I have embeded an app b4 but this was freeware downloaded from the net, I used the same methods but find I am a little puzzled.

    :confused:

  3. #3
    dbashby's Avatar
    dbashby is offline Senior Member
    Join Date
    Mar 2009
    Posts
    223
    Rep Power
    6

    Default

    I have just tried the following

    <html>

    <head>

    <title>Fatbusters Body Mass Index Readings</title>

    </head>

    <body>


    <applet code="frmBmi.class" height="454"
    width="707">Browser does not support Java applets!
    </applet>

    <param name="BgColor" value="adadad">

    </applet>

    </body>

    </html>
    I would be grateful if someone could advise as to why either of these does not pick up the application

    Thanks

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    How many fora are you cross-posting this question in? I have to admit, that you really pissed me off with your last thread. I went to the trouble of downloading your app, going through it,... just wasted my time it seems. I've learned my lesson.

  5. #5
    dbashby's Avatar
    dbashby is offline Senior Member
    Join Date
    Mar 2009
    Posts
    223
    Rep Power
    6

    Default embed

    Sorry for that but I was desperate for the answer, I dont usually use the other forum but I was in a bit of a mess.


    This post is only in this forum.

    :D

  6. #6
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    Then if you respect us at all, at least post links to any and all cross-posts. I know that I for one don't like wasting my time, no matter how desperate you are. My time is valuable too you know.

  7. #7
    dbashby's Avatar
    dbashby is offline Senior Member
    Join Date
    Mar 2009
    Posts
    223
    Rep Power
    6

    Exclamation

    I have apologised now, if you dont want to bother then dont but I am not going to get on my knees and beg.

    I appreciate the fact that the error was mine and as I say I dont usually post in any other forum.

    Yes I know your time is as valuable if not more than mine.

    As I say my mistake but can this be an end to the telling off.

    :D

  8. #8
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    no problem. no further telling off. best of luck.
    Last edited by Fubarable; 03-20-2009 at 01:31 AM.

  9. #9
    dbashby's Avatar
    dbashby is offline Senior Member
    Join Date
    Mar 2009
    Posts
    223
    Rep Power
    6

    Default

    Thanks! obviously I may as well close this due to your negative posts.

Similar Threads

  1. Have to embed link to website in JFrame
    By pkumar85 in forum New To Java
    Replies: 0
    Last Post: 11-24-2008, 12:01 AM
  2. Help, Embed video in java applet?
    By darthbane13 in forum New To Java
    Replies: 0
    Last Post: 08-29-2008, 10:09 PM
  3. How to embed Swing and AWT in SWT
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-02-2008, 08:07 PM
  4. How Do I Embed Java Correctly To A Web Page
    By abcd in forum Java Applets
    Replies: 7
    Last Post: 01-28-2008, 07:53 AM
  5. Email Embed Image
    By gui.gomes in forum Advanced Java
    Replies: 3
    Last Post: 11-19-2007, 02:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •