Javafx deployment in html page(please help me urgent)

i used the following method to deploy javafx in an html page.
javafx file is:
package hello;
import javafx.scene.*;
import javafx.stage.Stage;
import javafx.scene.text.Text;
import javafx.scene.text.Font;
import javafx.scene.paint.Color;
import javafx.scene.effect.DropShadow;
Stage {
    title: "My Applet"
    width: 250
    height: 80
    scene: Scene {
        content: Text {
            x: 10  y: 30
            font: Font {
                 size: 24 }
            fill: Color.BLUE
            effect: DropShadow{ offsetX: 3 offsetY: 3}
            content: "VAARTA"
I save the file as HelloApplet in a 'hello' named folder in my D:
after that i downloaded from internet html code as
<html>
    <head>
        <title>Wiki</title>
    </head>
    <body>
        <h1>Wiki</h1>
        <script src="dtfx.js"></script>
        <script>
            javafx(
                archive: "HelloApplet.jar",
                draggable: true,
                width: 150,
                height: 100,
                code: "hello.HelloApplet",
                name: "Wiki"
        </script>
    </body>
</html>now i typed in DOS prompt as javafxc.exe HelloApplet.fx & i got the class files .
_The main problem which is coming is how to create HelloApplet.jar file which is used in the html page without which the html page is not displaying the javafx script. Please help me urgently i am in the middle of my project & stuck up due to JAVAFX                   i am using WIndowsXP & javafx-sdk1.0 when i am typing jar command inside hello package it is displaying invalid command.in DOS prompt. If there is any other method to deploy javafx in html page then specify it also.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Crossposted: [http://forums.sun.com/thread.jspa?threadID=5323288].
Please don't crosspost without notifying others. It is rude in terms of netiquette. Stick to one topic.

Similar Messages

  • Well, i was on my laptop now and all of a sudden a pop up message appeared and said "your download is complete" so i went to go check it out and it was 'MacProtector'. i cant delete it and it keeps opening unwanted web pages, please help me sort this out?

    Well, i was on my laptop now and all of a sudden a pop up message appeared and said "your download is complete" so i went to go check it out and it was 'MacProtector'. i cant delete it and it keeps opening unwanted web pages, please help me sort this out someone?

    Refer to:  http://cantalktech.com/2011/05/08/mac-protector/.

  • I am working on big project and in accidentally flatten the file and i saved it as PSD in then I exited Photoshop. the next time when i open the file it is merged on one page. please help!

    I am working on big project and in accidentally flatten the file and i saved it as PSD in then I exited Photoshop. the next time when i open the file it is merged on one page. please help!

    Flattening and merging are very similar. The main difference is merging keeps the transparent areas, whereas flattening removes all transparent areas by giving it a white background. A good example of flattening is a jpg image.
    Since you have closed the file by closing photoshop, that means that the history is now gone, no way of undoing.
    So that leaves you with two choices.
    You can either recreate the whole document.
    Or you can make selections of areas you are keeping and moving them one at a time to new layers. Keep each object on a separate layer. Then redo the area behind those objects.

  • I made upgrade for IOS to 7.04 but my iphone is second hand and when iphone need to make activation ,i don't have the apple ID so my iphone didn't work from this time so please help me urgent

    I made upgrade for IOS to 7.04 but my iphone is second hand and when iphone need to make activation ,i don't have the apple ID so my iphone didn't work from this time so please help me urgent.

    There isn't one.
    amrzaky wrote:
    I can't contact with previous owner s i need another solutoin
    The Apple ID and Password that was Originally used to Activate the iDevice is required.
    If you cannot get this information from the seller
    Removing a device from a previous owner’s account
    You need to return the Device for a refund, as you will not be able to re-activate it.

  • Deploying simple HTML page to WLS 10.3.6 fails with HTTP response code: 502

    - I created a simple HTML page and want to test deployment to WLS 10.3.6 on Linux. I created WAR file and when using JDev 11.1.1.4.0 to deploy to WebLogic Server, it fails to deploy. Full errors/messages are:
    [04:40:56 PM] ---- Deployment started. ----
    [04:40:56 PM] Target platform is (Weblogic 10.3).
    [04:40:59 PM] Retrieving existing application information
    [04:40:59 PM] Running dependency analysis...
    [04:40:59 PM] Building...
    [04:40:59 PM] Deploying profile...
    [04:40:59 PM] Wrote Web Application Module to C:\JDeveloper\mywork\Simpe_HTML\Project1\deploy\SimpleHTML.war
    [04:41:01 PM] Deploying Application...
    [04:41:01 PM] Weblogic Server Exception: weblogic.deploy.api.internal.utils.DeployerHelperException: The source 'C:\DOCUME~1\NGOLDR~1.LAT\LOCALS~1\Temp\SimpleHTML.war' for the application 'SimpleHTML' could not be loaded to the server 'http://dupe:7031/bea_wls_deployment_internal/DeploymentService'.
    Server returned HTTP response code: 502 for URL: http://dupe:7031/bea_wls_deployment_internal/DeploymentService
    [04:41:01 PM] See server logs or server console for more details.
    [04:41:01 PM] weblogic.deploy.api.spi.exceptions.ServerConnectionException: [J2EE Deployment SPI:260041]Unable to upload 'C:\JDeveloper\mywork\Simpe_HTML\Project1\deploy\SimpleHTML.war' to 't3://dupe:7031'
    [04:41:01 PM] #### Deployment incomplete. ####
    [04:41:01 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    - The Application Server connection is accessible within JDev. 'dupe' is my server name and it's running RH 5.4
    - Any help or suggestions appreciated, although I've already asked Mr. Google without success.
    Thanks in advance,
    Neville

    HTTP response code 502 means temporarily overloaded.
    I would say that we have to check the deployment error on the weblogic server logs located at <Domain_Home>\servers\dupe\logs\dupe.log
    Check for any errors like OutOfMemory etc OR any deployment failures.
    If possible, try accessing the console at http://dupe:7031/console
    Check if you are able to successfully deploy your application using the console.
    From the error it looks like the "dupe" server might not be healthy. So, the log file would really help here to get clues into the root cause.
    Arun

  • Junk characters like" � � "displayed in the jsp page please help.

    Hi,
    I am getting junk characters like � � displayed in the jsp page.
    In the JSP page i used javascript "& nbsp" for appending spaces to a string "CCR" to get "CCR " .
    Now the Resultant string "CCR " has three spaces appended to its right.
    This String is set in session in that JSP page.
    In the next JSP page i am getting that string from session.
    After getting the string the "substring" function is performed to get only the first 5 charcters of the string. Now the result is displayed as " CCR� � " with has last 2 characters as junk values � � insteed of displaying as "CCR ". Please help me in solving this issue.
    Please note that initially the sting "CCR" is got from the Oracle database in Solaris Machine.
    Regards,
    Vijay

    have you tried:
    strenuously inspecting the string that is coming from the db? do an actual loop over the string, character by character, dumping to System.out to make sure the characters are EXACT coming out of the db.
    note you have to append " " not just "& nbsp"
    post the code that is doing the output. the relevant bean code, the jsp, everything relevant - WITH COMMENTS discussing where things are happening.
    Also, is it "weird characters" in the browser only? have you done a view source on the actual html source that the browser is rendering (right click in IE and click view source). browsers can act odd if you don't feed then exactly what they want, and it looks like you're feeding it escaped characters that it is rendering as something else.

  • Problem with Accessing Deployed Servlets Please help, very urgent.

    Inspite of going through lots of Docs. I am not able to access the JSP which is deployed using JDeveloper 3.2 in the browser? What should be the URL and where should I place the JSP and the related files in the Apache Server (Specific directory)?
    Please help, this is very Urgent.
    Could I get some sites where I can get detailed description of how to deploy and access Servlets and JSPS using JDeveloper 3.2 for OAS 9i?
    Thanks in advance,
    Regards,
    Kavita.
    null

    Hi Kativa,
    In answer to your first question: In most apache installs, you want to place all your JSPs under the Apache/htdocs directory. This htdocs directory becomes the root directory of your HTTP request, so, for example, to access the file
    Apache/htdocs/mydir/myJSP.jsp
    you'd point your browser to
    server:port/mydir/myJSP.jsp]http://server:port/mydir/myJSP.jsp
    As to your second question: Do you mean Oracle 9iAS? If so, look at this HOWTO: http://technet.oracle.com:89/ubb/Forum2/HTML/006398.html
    JDeveloper 3.2 does not support deployment to OAS (the predecessor to iAS), but there was no OAS 9i.
    null

  • MY FONT LOOKS DIFFERENT IN INDESIGN PAGES PLEASE HELP!!!!!

    Hello, I have a majo problem here. I have all my pages written in one font, Arial Narrow, however the width of the font looks different from page to page, it looks bold on page 1 and 2, and on page 3 it looks fine,  is there any invisible setting applied to the whol page? why does it look bold? I did try toprint them, they do look different, also, there is no stroke  set, i checked, and color is set to black not registration. Is there anything else I am missing???? Please help!!!!

    Transparency isn't something you would adjust, per se.
    Imported art may have transparency in it (like a transparent background), or you may have applied an effect like a glow or a drop shadow, or used a blending mode (all of which are transparency effects) on an object on your document page, or even adjusted an object's opacity in the effects panel to make the background show through (this is true tranparency inthe classic sense). Any of these things will result in ID redrawing the page and "emboldening" the type on that page.
    There is no way to remove the eefect other than to remove the transparency from the page (if you are showing the icons for it in the pages panel, whcih you set in the panel options, you'll see a small checkerboard next to the page icon in the panel if there is transparency in use). To assure that all pages look the same if you are going to use transparency on any page, you can add a transparent object to the master page.

  • XML 2 HTML. Please help..

    Is there any standard API / programme(already written) in Java, to convert a HTML document to XML and also XML to HTML.
    Any suggestions, tips, links are appreciated. Please help.
    Thanks in advance,
    Xej.

    Hi!
    For XML to HTML conversion I use XSL transformation utilizing Xalan for Java(xml.apache.org). The other way round is not such an easy task because HTML is a little bit unpredictable with its tag usage. For example a <br> tag as line break is ok for all browsers but it's not well formed XML - in this case it should be
    If HTML is well formed in XML terms it's called XHTML and since that is a XML language you could use XSL for transforming it into another XML document.
    ~k

  • HTTP error 0 testing not serving php pages please help

    Hello everyone,
    I am using DWCS3, the free version of MAMP on my MacBook Pro Leopard 10.5.6.
    I have built a customer registration form with a Transitional <!DOCTYPE>. I have been following the instructions from The Essential Guide to Dreamweaver CS3, using a wizard to build a registration form, in chapter 15.
    When I try to preview the form in the web browser, I get a white screen.
    When I click the live data button I get an; HTTP error 0 message occured while attempting to request the file http://localhost:8888/mywebsite/page_S9INUKZB.php from the testing server.
    possible reasons:
    1. Files in MacHD/Applications/MAMP/htdocs/mywebsite with .php extension are not being executed by the testing server.
    2. The MacHD/Applications/MAMP/htdocs/mywebsite does not map to http://localhost:8888/mywebsite URL on the testing server.
    I've gone over the site definitions several times and have configured MAMP differently twice, using ports 80 and 3306 and also 8888 and 8889. The same problem has happened in both instances here is my site definition info:
    Local info:
    Site name: mywebsite
    Local root folder: MacHD:Users:myname:Desktop:mywebsite
    links relative to document: http://localhost/
    Remote info:
    Access: Local/Network
    Remote folder: MacHD:Applications:MAMP:htdocs:mywebsite
    Testing server:
    Server model: PHP/MySQL
    Access: Local/Network
    Testing server folder: MacHD:Applications:MAMP:htdocs
    URL prefix: http://localhost:8888/mywebsite/
    Web sharing is turned off.
    Dreamweaver/Preferences/Preview in browser/preview using temporary files is turned off, yet in my HTTP error 0 message there is a string of characters after the page name, suggesting that dreamweaver is using temporary files.
    I have attached a compressed copy of the customer registration form maybe the problem is the page. I have gone round and round in circles with this and I can't seem to sort it out can somebody please help me.
    Thankyou.

    Hello David,
    Thanks for getting back to me, sorry for the late reply, I've been away for a few days.
    I have done what you suggested, and altered the links relative to document: http://localhost:8888/mywebsite/
    I have also restarted dreamweaver and mamp.
    Nothing has changed when I try to view the page through the browser I get a white screen and the HTTP error 0 is still displaying, With the same message as before.
    I have since created a new form, connected it to my user table, and populated the table with info, and that worked.
    I then added the php validating code as suggested in chapter 15, pages 481 through to 485. I've also checked the code against your example page register_user_03.php.
    However when I put the page on the testing server and try to view it, all I get is a white screen, and an HTTP error 0 the testing server is not executing pages with a .php extension. Or the URL prefix isn't mapped properly.
    I have also checked all my settings in MAMP and left a question on the forum but they haven't answered.
    Is there a setting or connection that I need to enable in Apache? I'm stumped.
    I'm hoping you might have some tricks up your sleeve.
    Thanks

  • Menu expanding off of page - Please Help!!!

    I've placed a vertical menu on the left side of my page where some of the sub-menu items extend lower than the visible bottom of the page. My question is: is there a way to have the page automatically scroll down to see the items? Right now when the menu expands out, if there is anything below the visible page level, it won't automatically scroll down for you - you have to manually do that yourself. Because of this, you could potentially miss items in the menu because you can't see them. In surfing other websites, I've noticed that when you pull down a menu that expands lower than the bottom most visible portion of the screen, the site automatically accomodates for this and scrolls down for you.
    Any suggestions on how to get portal to do this??
    Thanks!!
    Jenny

    Hi Vijay,
    I tried to insert the code into the html of a text object on my page, but I'm not sure what the "name of the html page" should be? Could you explain it a little more in detail for me as I am not a programmer by any stretch of the imagination. Also, is it possible to add IFrame to a region containing portlets? I'm not at all sure how that would work, as the html of the portlet isn't visible??
    Also, while IFrame will be helpful in other areas of my site, I don't think that my original problem has been solved. The Ronaldo Viscuso expanding menu that I added has a tendency to stretch off of the page, either horizontally or vertically. When this happens, the page doesn't automatically scroll down to accomodate the menu. I guess if I could add IFrame to my entire page, it would automatically scroll for me, but is that even possible?
    Sorry for the long-winded reply and thanks again for your help.
    Jenny

  • Got error on my page please help me...

    Hi, please help me in my problem. i have created a page
    locally and when
    i test it it works fine but when i upload it to my site
    there's an error
    occur the error is:
    "java.lang.ArrayIndexOutofBoundsException" i have no
    idea with this error and why it occurs. please help me
    john

    dimaint wrote:
    > Can you provide a code snippet? Does it give you a line
    number where exception is being thrown?
    this is the error: Ooops! an error occured. Mesage: 4 Error
    Type: java.lang.ArrayIndexOutOfBoundsException
    the code is right here:
    http://filecargo.com/dw.php?id=1151547203&/act_savemanual.cfm
    Thank you,
    John

  • Actionscript not working on the HTML file PLEASE HELP

    Hello,
          I made a website in flash, you can download everything here, because I need this problem fixed by Monday http://www.mediafire.com/?sharekey=e5d0b30598ff413aa0f2f20c509059d9e04e75f6e8ebb871
         The problem is, when I publish the file, and run the html file, the actionscript doesn't work. When I run the project in flash it works perfectly. I do not believe it is the player or anything of that sort that is wrong, although I can not be sure. I've tried this on like 10 different computers, and none were able to load the actionscript. Does anyone know why the actionscript wouldn't be working when I run the html file for the site?
    Please Help, Thank you.

    Hi !
    Don't panic yet
    I think you didn't select the Flash with SFCommand in the HTML tab inside the Template dropdown menu,  that's the reason your Actions Scripts doesn't work in the html view.
    To access hold down CTRL+SHIFT+F12--->HTML tab--->The first dropdown menu at the top
    Hope this solve your problem.

  • Reconfigured itself, now stuck on test page, please help

    I went to go listen to my ipod on my way home from work this morning. When I turned it on, it went to a weird screen and said it was reconfiguring. I followed all the prompts it told me to. However, it came to a to a certain screen and it wont let me do anything. the black strip up top reads "accessorize test", it follows with "please plug FW LCD ID : 1 FWPWR : 0" I pressed all the buttons, nothing. I tried holding down the play/pause button and it wont even shut off. When I finally got home, I plugged it into a power source, still nothing. I thought maybe it needed to be hooked to the computer. clicked on itunes and its not even recognizing that its plugged in. I really cant get it to do anything. I dont know what to do. Ive had it over a year so I cant find an appropriate tech support number. it says accessorize but you cant really hook it up to any accessory thing so I have no clue. PLEASE HELP ME

    Try Resetting your iPod. Toggle the hold switch off and on a few times then hold down the MENU and SELECT (centre) buttons for five or ten seconds until you see the Apple logo appear then the menu button to go to the normal display: How to reset an iPod

  • Hi I am new to Apple devices, i got a new Ipad mini and i am trying to download skype from the Istore,it asks me to review my account and if i give all the details and click on next, it come to the same page,please help

    Hi I am new to Apple devices, i got a new Ipad mini and i am trying to download skype from the Istore,it asks me to review my account and if i give all the details and click on next, it come to the same page,please help

    Oh thank you very much, i was worried after a whole day's hard work but most important that i had lost my photos, i don't understan the photo,shared and albums? I have a lot of photos in my albums that it didn't let me delete, yet i could delete a lot of others, could you explain this to me please

Maybe you are looking for

  • HELP!!  Iphoto won't open, crashes immediately

    I have the exact same problem as described in the thread below. I am running 4.0.3 and it has worked fine for 3 years. I have not done any new imports and all of the sudden when I try to open the app it bounces, shows the Iphoto opening page while th

  • Adobe Media Encoder Slows Encoding Process to Snails Pace

    I am having real issues when exporting from After Effects CC to Media Encoder CC or when I import directly from AME. It happens on one particular comp and visibly slows to a snails pace in the output preview at the same point every time. I have gone

  • Network settings in Time Capsule

    I have messed up my Internet settings in my Time Capsule. I can connect to it wirelessly, but I can't connect to the Internet How do I recover my settings from yesterday using Time Machine?

  • Can't find/download new PDF responses in Tracker

    Hi there, I have created and distributed a form for a survey (in Acrobat Pro 9), and it seems that recipients can fill in the form and return it by clicking the "Submit Form" button. So far, so good. I tested it on 2 different computers, before I mad

  • Cover Art refresh from files

    I store all my music on an external disk. A few days ago I started iTunes without that disk attached. I have around 3000 albums/50,000 tracks - 98% of which have album art. With that restart though, all of the album art disappeared leaving me just th