Insert JAVA3D CODE into a HTML PAGE

My java 3d code is working perfectly with javac and java command. I can see the result of my game in the appletviewer
But when I want to insert the code into a html page,it dosen t work
the java applet remain grey....
Can someone tell me why and someone can tell me how to solve it
Could you give me an example of HTML page using java 3D code with mulitple classes

I don't know Java3D, but I know a little applets. :)
Are you sure your browser understands the 3D API ?
applets work with AWT and JDK1.1, (it's your browser than run your applet and not your jdk 1.3 or 1.4), so peraphs you should download a plug-in to run Java3D in your browser ?
for example, if you want to use swing, you have to download a plug-in in your browser.
and another problem is that different browsers work differently with a same applet : for example, IE 6.0 don't run than IE 4.0 or Netscape 3.0
it's the internet's way of life... :)
Good luck,
David
PS : sorry for my english, I'm from Paris ! :)

Similar Messages

  • Inserting Script code into HTML - possibly using snippets?

    I am using Robohelp 7 and I need to insert some tracking script code into the HTML.
    The location needs to be right before the body close code.
    I have multiple pages and would love to use a snippet so that it would be easy to update as necessary.
    When I create the snippet code and drop it on the design page, it shows the code.
    I cannot get it to drop into the HTML.  Any suggestions?
    If it can't be done with snippets, is there a way to mass import code into the HTML of ALL pages?  I'm talking hundreds of pages.

    Hi there
    I doubt you will want to use snippets for this. Why? Well, if you use Snippets, you will need to edit all your pages so they include the snippet!
    So here's how I might approach it.
    Open the Project Set-up pod. Create a Topic Template. Inside the Template, add a Footer. Insert the script into the footer. Save the template and apply it to all your topics. You do this by selecting all topics in the Topic List pod, right-clicking them and choosing the Template. Whoosh! The template is associated and all topics now have a footer (with the script inside).
    Hopefully this helps... Rick
    Begin learning RoboHelp HTML 7 within the day - $24.95!
    Click here for Adobe Certified Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Can I insert an html file as an image into an HTML page?

    The site I'm working on (www.ngospen.com) has PNGs for background art - 10 - 15 kb per image. As the site is intended for settings with low bandwidth, I'd like these background images to be as small as possible.
    When saving for the web, one of the options is Save As HTML file. When I open the file, the artwork appears the same as the PNG (no lost resolution), but it is a much smaller file size (1 - 2 KB).
    Is it possible to insert these HTML files into my HTML pages?
    Thanks!
    Ken D
    Creative Director
    Grateful Creative

    Are you meaning that you work with fireworks?
    If so the html and the images you export are flattened images (slices), you have to put those images directly into your html page.
    If you want to save the file (fireworks) as a flattened image you could also goto save as -> flattened png.
    If you save your image from fireworks just as png it contains the layer information etc. etc. from fireworks, that's why you should save them as flattened png, or just export the slices.
    http://www.dreamweaverfan.nl

  • How to get the source code of an HTML page in Text file Through java?

    How to get the source code of an HTML page in Text file Through java?
    I am coding an application.one module of that application is given below:
    The first part of the application is to connect our application to the existing HTML form.
    This module would make a connection with the HTML page. The HTML page contains the coding for the Form with various elements. The form may be a simple form with one or two fields or a complex one like the form for registering for a new Bank Account or new email account.
    The module will first connect through the HTML page and will fetch the HTML code into a Text File so that the code can be further processed.
    Could any body provide coding hint for that

    You're welcome. How about awarding them duke stars?
    edit: cheers!

  • How to Convert an existing window into an HTML page

    Hi,
    I am trying to convert a window into an HTML page using Forte Web
    Enterprise.
    - The window has just the widgets without any code behind it.
    - How can I use the WindowConverter class, WindowToDocument method for
    it etc.....
    Any suggestions? Can I get a sample code if anyone has tried this.
    Thanks in advance
    Nafisa Husain
    CBSI, Chicago

    user8731258 wrote:
    Hi,
    I want to know how can i convert my application into a clustered application.
    my current application there are 5 modules and thses modules have 5-10 tables in common.Since these modules work simultaeously the processing time gets increased drastically.Is it possible that to have seperate instances of these tables and every module works independently and oracle take care of the consistency.
    I want to know if RAC could be the solution?Sounds like an application design issue. I think you'd be best served tracing the applications and see where the overhead is being introduced when they do their process concurrently.
    Throwing RAC at a poorly developed application would do nothing except amplify the poor design (it'll make things worse).
    Cheers,

  • How to embed a swf video into an html page?

    I am haing trouble embedding my swf video into my html page. Here is my code:
    <embed height="340" width="549" src="flashvideos/test.swf" allowscriptaccess="always" allowfullscreen="true" flashvars="&amp;MM_ComponentVersion=1&amp;skinName=C:/Users/RogerPa1/Documents/Visual Studio 2008/WebSites/WebSite1/Products/Create/flashvideos&amp;streamName=C:\Users\RogerPa1\Docum ents\Visual Studio 2008\WebSites\WebSite1\Products\Create\flashvideos\Robotics&amp;autoPlay=true&amp;autoRew ind=false"></embed> 
    When I run the page the place where the flash player should be is blank. But if I right click I can select settings so the flash player is there. I'm using absolute urls for the flashvars because I read in a forum that that's what you're supposed to do. Anyway I am a little frustrated that the video won't play. I tried creating a video with no skin and the same problem occurs.
    Thank You
    idesofdecember

    Answered

  • How to get the source code of an HTML page in Text file Through J2EE

    How to get the source code of an HTML page in Text file Through J2EE?

    Huh? If you want something like your browser's "view source" command, simply use a URLConnection and read in the data from the URL in question. If the HTML page is instead locally on your machine, use a FileInputStream. There's no magic invovled either way.
    - Saish

  • O, Is there a way to fix grey ghosted template code on a html page?

    Hello, Is there a way to fix grey ghosted template wrong placed code on a html page in DWCS6? I have about 15 pages out of about 900 that need the same fix. Only one template is for these 15 pages and it  looks fine but won't attach to pages because of the error on line1.
    The first line below is the error problem and also below is the error when I try to attach the Template.
    (error problem)  <!-- InstanceBegin template="/Templates/Cotton_Silk.dwt" codeOutsideHTMLIsLocked="false" --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="css/single.css" rel="stylesheet" type="text/css" />
    <link href="tooltip.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryTooltip.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryTooltip.js" type="text/javascript"></script>
    <head>
    <link href="tooltip.css" rel="stylesheet" type="text/css" />
    <meta name="title" content="Luna Luz Silk Cotton and Cotton Lycra Button Front Dress  - TodaysClothing.com" />
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX
    (error)    not updated, error in template or instance file

    Hello, Is there a way to fix grey ghosted template wrong placed code on a html page in DWCS6? I have about 15 pages out of about 900 that need the same fix. Only one template is for these 15 pages and it  looks fine but won't attach to pages because of the error on line1.
    The first line below is the error problem and also below is the error when I try to attach the Template.
    (error problem)  <!-- InstanceBegin template="/Templates/Cotton_Silk.dwt" codeOutsideHTMLIsLocked="false" --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="css/single.css" rel="stylesheet" type="text/css" />
    <link href="tooltip.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryTooltip.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryTooltip.js" type="text/javascript"></script>
    <head>
    <link href="tooltip.css" rel="stylesheet" type="text/css" />
    <meta name="title" content="Luna Luz Silk Cotton and Cotton Lycra Button Front Dress  - TodaysClothing.com" />
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX
    (error)    not updated, error in template or instance file
    in Dreamweaver support forum • Reply • Like Show 0 Likes(0)

  • How do I see the source code of a html page?

    In previous versions it was possible to read the source code on a html page from "view" menu. It is not longer there. How do I read code now?

    You're welcome

  • How to Write source code of a html page to a File

    Using this code i could find the source code of a html page from a web server
    import java.io.*;
    import java.net.*;
    public class SourceViewer{
    public static void main (String[] args) throws IOException{
    System.out.print("Enter url of local for viewing html source code: ");
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String url = br.readLine();
    try{
    URL u = new URL(url);
    HttpURLConnection uc = (HttpURLConnection) u.openConnection();
    int code = uc.getResponseCode();
    String response = uc.getResponseMessage();
    System.out.println("HTTP/1.x " + code + " " + response);
    for(int j = 1; ; j++){
    String header = uc.getHeaderField(j);
    String key = uc.getHeaderFieldKey(j);
    if(header == null || key == null)
    break;
    System.out.println(uc.getHeaderFieldKey(j) + ": " + header);
    InputStream in = new BufferedInputStream(uc.getInputStream());
    Reader r = new InputStreamReader(in);
    int c;
    while((c = r.read()) != -1){
    System.out.print((char)c);
    catch(MalformedURLException ex){
    System.err.println(url + " is not a valid URL.");
    catch(IOException ie){
    System.out.println("Input/Output Error: " + ie.getMessage());
    Iam not much a expert in java .. i could find some commands to write to a file but i dont know where to use those codes , some body please give me some idea ..
    thanking you ..

    You're welcome. How about awarding them duke stars?
    edit: cheers!

  • To know the Status code of a HTML page using Javascript

    To know the Status code of a HTML page using Javascript

    Hello,
    I am not sure to understand, which status are you talking about? The HTTP Status?
    If your javscript is executed it is more or less sure that the HTTP Status is 200 since the request is back to the browser.
    or are you talking about this is in the context of a XMLHTTPRequest call ?
    Regards
    Tugdual Grall

  • Insert one html page into another html page

    Hi there,
    I wonder if sombody can help. I am trying to insert one short
    html page into another page. I could not find any option or feature
    in Dreamweaver that allow me to insert the page at all. The page I
    want to insert has the links and it is a short page, just like a
    banner. When I update the links on that page it will update all
    other pages in the website. I do not have to open many pages to
    update. I have been using FrontPage and I am now converting to
    Dreamweaver. Some codes from FrontPage does not work in
    Dreamweaver. I would very much appreciate if somebody can help with
    the codes.
    This is my website so that you can understand what I mean. At
    the top of the screen there are many links that are from one page I
    inserted into index.html. I use FrontPage. But, Dearmweaver does
    not work that way.
    Thank you. Kevin

    Be aware that IFrames carry all the disadvantages that frames
    do, for both
    you and your client's visitors.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "polarl light" <[email protected]> wrote in message
    news:g06ad0$2rm$[email protected]..
    >
    >> I wonder if sombody can help. I am trying to insert
    one short html page
    >> into
    >> another page. I could not find any option or feature
    in Dreamweaver that
    >> allow
    >> me to insert the page at all. The page I want to
    insert has the links
    >> and it
    >> is a short page, just like a banner. When I update
    the links on that
    >> page it
    >> will update all other pages in the website. I do not
    have to open many
    >> pages
    >> to update. I have been using FrontPage and I am now
    converting to
    >> Dreamweaver.
    >> Some codes from FrontPage does not work in
    Dreamweaver. I would very
    >> much
    >> appreciate if somebody can help with the codes.
    >
    > Depending on what you want to do you can use SSIs or an
    Iframe. SSIs are
    > good for things such as headers, menus and nav bars that
    you want to stay
    > the same across a range of pages. Iframes let you load
    an external HTML
    > file into a predefined area of your page so you can
    display different
    > content while staying on the same page.
    >

  • Fluid grid for Wordpress: insert PHP code into DW or DW code into Wordpress?

    This may be a stupid question but it's a dilemma for me. Here's the problem. I want to create a mobile first, fluid grid Wordpress website in Dreamweaver CS6 based on an existing Wordpress theme. I can see two ways of doing that:
    1) Create a fluid grid layout in DW, then insert the Wordpress PHP code into the right places in DW
    Pro: the fluid grid layout is set up by DW and therefore can be easily edited with DW (I imagine)
    Con: It is beyond my coding skills to make a fully functional WP template
    2) Take an existing responsive Wordpress template with media queries and edit that in Dreamweaver
    Pro: I start with a fully functional WP template and only have to make changes (mostly in CSS) to customise it
    Con: When I start with an existing template (like Skeleton) I run into trouble using DW
    For example: I click a navigation button to get at the CSS but it's not clear to me from DW's interface in which media query I have to make changes. I did a tutorial on creating a fluid grid layout with DW so I can do that. But DW doesn't work the same way with an existing WP template like Skeleton. I searched the web but all I can find is help on creating a fluid layout with DW, not editing an existing one.
    By the way, I am experienced with HTML/CSS but not PHP and I have a local Wordpress server running on my Mac so I can work in Dreamweaver's Live View.
    The problem may be that I am only just starting with responsive web design and need some more experience with media queries, css rules and DW CS6. Could anyone comment on this problem or point me towards more information on the subject?
    TIA!

    You can certainly use DW to customize a 3rd party WP Theme.  However, you must be throughly familliar with how WordPress Themes work and have a good working knowledge of  HTML, CSS and PHP code.  Design View will not be much help to you. 
    WP Themes are a sum of their various parts:  header.php, footer,php, sidebar.php, page.php, index.php, archive.php, etc...  The web server parses code from the various parts and creates whole pages on the fly.  Once WP is deployed on your server, you cannot use DW to edit content.  You must use the WP Admin Panel (CMS) to manage content, Themes, plugins and backup data.
    For simple static sites, the FluidGrid Layout feature in DW is a nice starting point.  But these layouts have definite  limitations which, IMO would not be a good fit with WordPress.
    Nancy O.

  • Trouble inserting a widget into my web page

    Hello,
    I am using DW CS3. I got the html code for a widget (in this case a small banner) to insert into my web page. Here is the code:
    <div>Find <a id="flipkey_best_of_property" href="http://www.flipkey.com/pine-mountain-club-vacation-rentals/g1553621/">Pine Mountain Club Vacation Rentals</a> on FlipKey</div><script type="text/javascript" src="http://data.flipkey.com/widgets/jsapi/36780/fhb/7be5/"></script>
    I inserted a Div Tag in my web page to contain the code (Class: Body; ID: apDiv2), and then pasted the code into the Div Tag. Though I was in Design View, the html code still showed as html code, not as the small banner I had hoped for. Can someone steer me in the right direction?
    Note: I took a web design course 3 years ago and created this web page at the time. I haven't done any web design since then, and have forgotten many of the details, but I should remember as soon as someone points out my errors.
    Thanks!

    If it's been 3 years, a refresher course may be in order. 
    Start here:
    HTML & CSS Tutorials - http://w3schools.com/
    APDivs as a primary layout method seldom works well. Here is why:
    http://apptools.com/examples/pagelayout101.php
    Learn CSS positioning in 10 Steps
    http://www.barelyfitz.com/screencast/html-training/css/positioning/
    How to Develop with CSS?  (a must read!!)
    http://phrogz.net/css/HowToDevelopWithCSS.html
    New Dreamweaver CSS Templates for beginners
    http://www.adobe.com/devnet/dreamweaver/articles/dreamweaver_custom_templates.html
    New DW Starter Pages
    http://www.adobe.com/devnet/dreamweaver/articles/introducing_new_css_layouts.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How do I manually enter code into an iweb page??

    iweb blogging is not bad; but there are times when I want to enter html code by hand; maybe a form script or CSS code.
    I tried inputting the code into the blog.html page, but it will vanish every time I update iweb.
    So; how can I manually add code to an iweb page? Surely this is possible?
    thanks

    Of course it's possible. Lots of us do that on our pages already. Two things to keep in mind...1. No way to do this via iWeb directly, so it involves editing the published html files, and 2. Because iWeb republishes the html files whenever you update the your webpage, you will lose your changes and have to redo them to add your HTML back.
    The general directions are as follows (using banner code as an example)...
    1. Decide where you want your banner and know exactly what dimensions you need.
    2. Insert a text box onto your page and adjust its size to exactly your dimensions.
    3. Type in some uniquely identifiable text like, "BANNERCODEHERE" without changing the font or anything else...just type it in.
    4. Publish your page with iWeb.
    5. Find the html file associated with your published page (either on your iDisk or in a folder depending on how you published) and open it in any text editor (like Microsoft Word, or Textedit, or anything).
    6. Scroll through the html file and locate your placeholder text, e.g. "BANNERCODEHERE".
    7. Replace the placeholder text with your html code and publish your page.
    That's it. You should see your html coded element show up where you placed the text box.
    If any of this information is useful to you, please do me a favor and mark my reply as "solved" or "helpful" using the little buttons that you see in the title bar of this reply. I would appreciate it immensely. Thank you.

Maybe you are looking for