Is it possible to load an html page inside a JavaFX application?

Hi
Is it possible to load an html page inside a JavaFX application?
Thank you!
Alexandra.

Actually it is very simple to load an HTML page inside a JavaFX application.
var html:JTextPane = new JTextPane();
html.setPage("http://www.berkshirehathaway.com/message.html");
Stage
    scene: Scene
        content:
            ScrollView
                node:SwingComponent.wrap(html)
}A JavaFX application "tainted" by Swing is still a JavaFX application, isn't it?
Loading an HTML page into a native JavaFX control would be a different story. It is hard.
I don't think it is a top priority for JavaFX team to develop a control to render HTML. Using a Swing component, which supports HTML well, does not make a JavaFX application inferior. But, if JavaFX team could make a fully functional embedded browser control supporting HTML, JavaScript, etc., I would applaud that effort wholeheartedly.
Right now, JTextPane inside a JavaFX application will crash the system, display gibberish, hang for ever or go haywire inexplicably, if JavaScript is used in the HTML page.

Similar Messages

  • How to Load a html page into Flex the application?

    I want to load separate html page in to my flex application.
    for example
    think I am in my shopping cart and I wanna buy something and pay for that.Then I am try to pay they will load a separate html page into my shoipping cart.
    How can I do that inside flex application?
    Any ideas are appreciated..
    thnx

    Hi snkd,
    You need to make use of iframe to load html content in Flex application.
    Check out the link below...there is also source code included..
    http://www.deitte.com/archives/2006/08/finally_updated.htm
    Thanks,
    Bhasker

  • Is it possible to embed an html page inside a pdf

    I am not looking for html or pdf converters. I have a pdf and i want to insert an html somewhere in between.

    You can save a raw html file to disk and attach it like any other file to your pdf. It will not be viewable within the pdf file.

  • HTML page in a Flex Application

    Hello !
    is it possible to insert an HTML page into a flex application
    i don't know where to search about the component HTML (Adobe
    AIR) and how use it ...
    Nicolas "The Newbie "

    Here's a link for you to start with:
    http://www.codeapollo.com/showthread.php?p=3367
    enjoy =)

  • Create HTML page inside form 6i

    Hi ,
    I would like to know if it's possible to create an HTML page inside form 6i ,, where this html page will include a time using html code, and a refresh button will be in the form whenever I press the refresh button the html page inside the form will be updated ..
    how can i do that ?
    Thanks in advance … :)

    Yes its possible . If you are running forms in client server , use host built in to open the html page. This html page can be created
    dynamically using text io.
    If you are running on web use webutil client host and text io.
    Best Regards
    Rajesh Alex

  • Is It possible to load Html page inside Adobe Flash...?

    Hi Everyone!
    Is It possible to load Html page Inside Adobe Flash CS5.
    Any help would be a great help...!
    Originally, i wanted to bring in through <IFRAME> but i don't see that flash understands that.
    Thanks in advance!
    -yajiv

    Not exactly sure how you where planning to display that HTML content in relation to the overall page, but given the limitations of Flash... that may just not be possible...
    But, it would be a simple matter to display an HTML iframe over the top of or behind a Flash .swf... So while the iframe would not be a part of the .swf, it certainly could be designed to make it look as though it were.
    Controling the stacking order or layering of content on a Web page is accomplished through z-indexing. Correctly positioned and z-indexed, the iframe could apear over the top of the .swf... the .swf in effect being the background... OR the iframe could appear behind the .swf and with a transparent section in the .swf, the iframe would appear through that hole. If there is navigation or links in the iframe, they will be blocked by the .swf though.
    http://www.w3schools.com/cssref/pr_pos_z-index.asp
    But this may be an option....
    Best wishes,
    Adninjastrator

  • Is It possible to load Html page inside Adobe Flash Professional..?

    Hi Everyone,
         Is It possible to load Html page inside Adobe Flash Professional or Adobe Flex. Thanks in Advance.
    -Vijay

    probably not the way you are thinking.
    flash textfields and their extensions have a limited number of html tags they can parse so, in general, html from most web pages will not display, as expected in flash.

  • How to load Html page in Flex 4 application

    Hi All,
              I am able to load html page in flex 3 application but i am unable to load in flex 4 application.
    How can i do it.
    Can any help me regarding this.
    Thanks in Advance
    Raghu.

    This may help - http://www.deitte.com/archives/2006/08/finally_updated.htm
    Thanks and Best regards,
    Pallavi Joshi | [email protected] | www.infocepts.com

  • How to use custom HTML page in flex web application with out using iframe

    Hi all,
              I have to import a custom HTML page (that has got links to another html pages) inside my flex web application and i dont want to use IFrame. Can you please suggest me with best example.
    Please help me out as i'm new to flex.
    Thanks,
    Swetha.

    Hi, there:
    Best thing to do is to start with the default login.html page, and then modify it. The login screen is fairly complex and it's easy to just miss a JS function you need to call. To get to default page, you would need to do one deploy (to simulator or whatever), and then look for login.html page in the temporary Xcode or Android project generated from the deployment. It should be under the "deploy" directory in your JDev workspace.
    You can also see all the framework JS files and CSS files that way as well.
    We have had customers implementing custom login screen so we know it can work, but they all had to start with the default login screen and then modify it.
    Thanks,
    Joe Huang

  • I am in the process of developing a site, and I'm working with nested iframes. The html page inside the nested iframe is not displying in the iframe window in Firefox only, but is instead opening in a new window. Any advice on how to fix this?

    I am developing a website with nested iframes. The problem that I am having is that the html page inside the nested iframe is not displaying in the iframe window in Firefox only. The first level iframe is behaving properly, but the second level is not. Any help with this would be greatly appreciated.

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • Creating a HTML page from the J2ME application

    Hi,
    I am developingan application in J2ME. Can anyone of you out there, help me whether there is any way I can generate a HTML page from the application.
    I have the data but I don't know ho to create a HTML page from a J2ME application.
    Any document or any code will prove handy.
    Thanking in anticipation.
    Ashish

    When you say that "you have the data" you mean that you have HTML code data(<html><body>Hello World</body></html>)? If yes you should create an algorithm that "read" html tag and display text in the appropriate layout/font/size/color...
    A solution could be simplify your HTML code (server side), so you can easly "decode" and display text.
    Giovanni
    Italy

  • How can I make this possible? Loading another html, into a table?

    Hello everyone!
    Im using Dreamweaver CS3. I have a website thats all image based - which is not good because google or any search engine cant really pick up any keywords. So I have a table filled with images, Id like to take an image in the center out, and put in some type of code that says "load blah.html into the current row and collumn of this table. I attached an image of what I mean.
    Id like to do this because it will be easier for me to update 1 html file and have it load that into the master html file. Is this even possible?
    If anyone is interested in checking out the source of the page im working on please feel free to go here:
    http://www.ryandeyoung.com/home.html
    Thanks in advance for anyones help.

    TheFiend1 wrote:
    Well, I mean 1 row and 1 column, sorry - but when I go to type something in there it starts typing in the middle - is there a text field I can stick in that empty spot? Where I can write whatever and for it to be as long as I make it, without making the master table change in length?
    Here's an example of some scrolling text inside a table cell...
    http://dreamweaverresources.com/tutorials/scroller.html
    Easy enough to see how it's done, I've provided the code  :-)
    You can set up the scrolling div in the table cell and then use an include file to populate the text into that div...  that way,, you can make changes to the include file and it will be updated automatically on the page.
    Here's a quick and easy article on creating server side includes  (SSI).  Use this to create your 'include file' that goes into that scrolling div.
    http://bignosebird.com/ssi.shtml
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    Book: Ultimate CSS Reference
    http://www.sitepoint.com/launch/005dfd4/3/133
    http://twitter.com/nadiap

  • Is it possible to load an html file on a frame

    Is it possible to make a java applet refresh(load) an html file which is loaded on different frame in the same browser window. In other words a web page is divided into 2 frames. One has the applet and the other is refreshed when the applet request it.
    Thanks

    Try something like :
    URL urlApplet = new URL(appletAddress);
    // "rightFrame" is the name of the frame in the page
    getAppletContext().showDocument(urlApplet,"rightFrame");
    And a HTML page like:
    <FRAMESET cols="35%, 65%" rows="100%">
    <FRAME SRC="/AppletBrowse/AppletBrowse.html" NAME="leftFrame" SCROLLING="auto">
    <FRAME SRC="/AppletResult/AppletResult.html" NAME="rightFrame" SCROLLING="auto">
    </FRAMESET>
    Is it what u want to do??

  • Swf movie won't load in html page

    I have a flash movie that loads another movie into a place holder container upon opening.
    So, 2 swf files - one is the main movie and the other the one that loads into the main movie.
    Works just fine when testing in flash or clicking on the swf files outside of flash.
    But when I embedd the main movie into my html page - the main movie loads ok, but it doesn't load the child movie. I have both swf files in the directory so I am not getting why it works fine except when placing into html page.
    Any thoughts on this without uploading the actual files or code for everything somewhere?
    Thanks!

    are all 3 files in the same directory?
    if not, you probably have a path error in your loading code.  (the path is relative to the embedding html's location.)
    if yes, you probably have incorrect/incomplete embedding code.  (to test, use the html file generated by flash without editing.)

  • How can I have a Flash SWF file to load a HTML page?

    I'm looking for a way to have Flash (CS5) to load and display a very simple HTML web page. Basically, the SWF file would be a standalone document sent by e-mail (or people would post on their web pages), and this SWF would display the content of another web page (consisting mostly in a live video on a black background)
    How can I have Flash CS5 to do that??
    Thank you!
    -sv

    Yeah maybe I wasn't clear enough... Here's the big picture.
    I run a live TV station, broadcasting 24/7 on the web via a Flash application (a projector basically). The video feed is streaming on my site, as well as on numerous web sites across the net. A Flash projector is also available as a standalone application, people download and use it to watch the movies without opening a web page.
    I am currently changing the broadcast method, from Flash stream to HTTP stream. But since my TV is already posted and linked in many places, I want to change the Flash object on my server with a new one, that has a HTTP stream instead of the Flash stream. It seems that HTTP stream cannot be embedded in a SWF, but it can be displayed on a HTML web page. The solution I came up with is to have a HTML page to load in the Flash player. All I would need to do is to have that HTML page to display the HTTP stream.
    So from there, most of my audience would not need to change anything to watch my streaming TV, while those who downloaded the old Flash projector would need to download a new one.

Maybe you are looking for

  • IPhone 3G S Nightmare

    Hi everone just wanted to let you know my expierence with ordering the 3GS. So like most of you I was excited to hear about the new iPhone and jumped at the opportunity to have one in my hands come 6/19. My husband and I were upgrading from the origi

  • HT2375 how do I uninstall logic studio from my macbook  pro?

    i need to uninstall logic studio from my computer to make more space on my drive.  I want all the programs associated with logic studio gone.

  • Appletalk printers?

    how do you connect a printer with a serial connector (prior to USB on mac) or appletalk to a newer mac? I noticed that my first printer still has support on snow leopard, but not my USB printer, so I really wondered how to do it...? thanks

  • I need step-by-step procedure for ESS/MSS Security??

    Hi, I need step by step procedure for ESS/MSS security. I know the Structural .Authorization , but i dont know how this ESS/MSS security is. Could you please help me with any step by step notes of your personal. Please i dont want any best practices

  • OT: Bindings panel, Databases, and Server behaviors in Dreamweaver CC

    Hi all, There was a query on the Dreamweaver Facebook page about using server behaviors in Dreamweaver going forward. The product team replied to the post, and I am posting it on this forum for the benefit of users not on our Facebook page. In Dreamw