Embed a painting into a html web page

Embed a painting into a html web page
I have designed a 2D GUI interface that has many shapes.
How can I embed it into a html web page or jsp?
I have no idea about it.
Thanks

A demo:
import java.awt.*;
import java.applet.Applet;
class TFrame extends Frame {
     private Button button;
     public TFrame() {
          button = new Button("Test");
          button.setSize(100, 20);
          button.setLocation(5, 5);
          this.add(button);
          this.setSize(300, 300);
public class FrameTest extends Applet {
     public void init() {
          TFrame t = new TFrame();
          this.add(t);
          this.setSize(300, 300);
          And the HTML file:
<html>
<body>
<applet code="FrameTest.class" width=300 height=300></applet>
</body>
</html>

Similar Messages

  • Turning Indesign into responsive HTML web pages

    Hi All
    I am having an issue in that I am trying to turn my indesign layout into a layered responsive HTML web page , currently I am turning then into PDF's and looking for people to convert the PDF's into responsive HTML's for web and smart devices. It seems a time consuming and un necessary process, and would like to avoid it if possible.
    Any suggestions would be appreciated

    Uh no. InDesign does not create "proper HTML web pages", it's a document layout program that *also* can export text to HTML, to be further processed with a real HTML editor.
    Dreamweaver is a real HTML editor.
    Using InDesign to create web pages with is something like using MS Paint to write a novel.

  • Can we merge BSP page into a HTML web page directly

    Hi All,
    Requirement :  We have  "Supplier Registration Page" which is in the SAP BSP ,in this page customer needs  to place the  Header and Fotter according to there website which is built in HTML.
         As am new to BSP , can you kindly suggest which of the below method is better.
    a)Merge the HTML links  from  Website to the BSP page. Is this possible?
    b)Merging BSP page into the website(HTML) via Web service.(Not only links ..the page itself).
       Can  you guys provide me some valuable suggestions .
    Thanks
    CB

    Hi,
    Instead of merging your Pages, I would suggest you to create a BSP page. Also, copy the header, footer of the required format to two different Views. Now, In your BSP page declare frameset. And use these pages.
    Sample code
    <!DocumentType HTML>
    <Frameset id="test">
         <frame src="header.htm" >
         <frame src="content.htm" >
         <frame src="footer.htm" >
    </frameset>
    Thanks,
    Parth Jhalani

  • Embed 3D Max (.3ds) file in web page

    Can I embed 3D Max (.3ds) file in web page so that user can view the file inside IE?
    Thanks for any comments.

    hi jonathan,
    I'm not into coding - I'm on the graphic side of the fence
    But in WiFu you can add a lot of extra's trough Java and Javascript.
    I don't know if that is what you are looking for ?
    If you like you can send me your .3DS model and I will generate a html page that contains your 3D model - you can send it to [email protected]
    K.

  • Putting a CS4 Bridge gallery INTO an exsisting web page

    Is it possible to put a web gallery created in CS4 Bridge into an exsisting web page created in Dreamweaver? I have a site with several pages and would like to have one of my pages display the gallery so that it all looks the same. I am sure it would entail editing the html and scripts which I am somewhat familure with. Just wondering if this is possible.

    As you say it's probably a matter of getting the html generated by the gallery and insert it into your own pages.  I'm not familiar with creating such a gallery, but the technotes do bring up some links that may be helpful  (hopefully  :-)
    http://www.adobe.com/cfusion/search/index.cfm?loc=en_us&term=bridge%20photo%20gallery&cat= support
    You may also find this link interesting - lots of choices for galleries and slideshows using the jquery framework:
    http://www.1stwebdesigner.com/resources/57-free-image-gallery-slideshow-and-ligh tbox-solutions/
    Nadia
    Adobe® Community Expert : Dreamweaver
    http://www.perrelink.com.au
    Unique CSS Templates | Tutorials | SEO Articles
    http://www.DreamweaverResources.com
    http://twitter.com/nadiap

  • Entering a blog into a flash web page

    I want to pull the first blog from a blog page into a flash web page. Anybody have an idea how I would go about this, or where to start?

    1.  all of your html and swf is client-side.
    2.  it's client-side so, yes.
    3.  yes.

  • Microsoft Publisher web page into a Muse web page?

    Any suggestions on the easiest quickest way to turn a Microsoft Publisher web page into a Muse web page?

    Hi
    Using Adobe muse you may create sites and export them as webpages locally or upload to hosting. However, I am afraid, there's no automated way to import Microsoft Publisher web pages into Adobe Muse. One alternative is place the Microsoft Publisher web page code using " Insert as HTML" and see if that helps.

  • Is there any way to embed a Revel album in a Web page?

    Any way to embed a Revel album in a web page or blog post?

    You can copy the link from the URL to the shared album to a blog or webpage, but there is no embed code at this time. Facebook or Twitter will display a preview of the album if you paste a link into a post.

  • Sending a HTML web page in email question please.

    Sorry, the "Mail and address" section of the group is down.
    A long time ago using windoze, I use to be able to send a entire embedded HTML Web page, not a link, in my emails so the reader does not have to click a link but can see the page right in the email.
    I know email in Leo did not have this but can't find any product info as to Snow Leo allows me to do this. Can you please advise?
    Thank you much.

    this only works with safari. Mail uses safari engine to render html. you can also just copy+paste parts of html pages but also only from safari. it will not work well if you try it from firefox.

  • View DW html web pages in Bridge?

    My apologies if this is deemed as a “double
    post”, but my question has been on the Bridge Forum for over
    a week with no response. Hopefully someone can assist.
    Am I able to view htm / html web pages from my Dreamweaver
    local site as thumbnail previews in Bridge CS3?
    Initially when I installed the CS3 suite and was just
    glancing through Bridge, I thought I was able to view the thumbnail
    previews of these pages, but now that I am utilizing Bridge more as
    tool, all I see is the IE7 icon for web pages on my local site
    (local hard drive). Image files all show up okay. I may be mistaken
    and was never able to view the web pages as thumbnail previews, but
    a definitive answer would certainly be helpful as I have been
    searching the FAQ section, the knowledge base and the forums
    without finding the proper topic.
    I have tried resetting the preferences and deleting the cache
    in Bridge.
    (CS3 Design Premium; Windows XP SP2; P4 3.0 GHZ; 2GB RAM)
    Thanks.

    Can I install Xcode for Windows?
    Is there any other method to test the application using safari browser of ipad in Windows?
    Pls help us on the same.

  • I'm trying to get started and register my new ipad. I have been told to sign into my info web page. How do I do that? And where do I find it?

    I am trying to get started and register my new ipad. I have been told to sign into " my info web page". How do I do that and where do I find it?

    Hi,
    You can register your new iPad here.
    https://register.apple.com/cgi-bin/WebObjects/GlobaliReg.woa
    Carolyn :-)

  • I have an audio problem when ever I use my Firefox web browser that makes a sharp audible sound simiular to a video game gun shot sound effect when ever I go into a new web page?

    I have an audio problem that when ever I use my Firefox web browser it makes a sharp audible sound similar to a video game gun shot sound effect when ever I go into a new web page? I change to a new site or page a page on a site, I get an audible gunshot ping trpe sound? It happens almost every time. Its very annoying and is driving me nuts???
    Any body out there had this happen also or know how to diagnose and fix this type of problem? I would hate to have to delete my whole Firefox program and have to start over again. If that is the case I will probably just scrap it and go on to try Google Chrome instead. I already have GC partially set up. I really have liked Firefox up to this point. I know add ons can cause problems at times but I haven't added anything new lately and this just started happening?

    Hi,
    Please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode].
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]
    Safe mode disables the installed '''Extensions''', and themes ('''Appearance''') in '''Tools''' ('''Alt''' + '''T''') > '''Add-ons'''. Hardware acceleration is also temporarily disabled - the manual setting is '''Tools''' > '''Options''' > '''Advanced''' > '''General''' > '''Use hardware acceleration when available'''. [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u Options > Advanced]. All these settings/add-ons can also be individually or collectively disabled/enabled/changed in Firefox normal mode to check if an extension, theme or hardware acceleration is causing issues.
    [https://support.mozilla.org/en-US/kb/Options%20window Options]

  • How to create a jquery as a table instead of a web page so that it can be embedded into an existing web page

    I am new to Dreamweaver and I just built a jquery with 3 tabs of information I want to put into my existing web page.  It has saved it as an entire webpage, but it needs to be a table that I can insert into my existing web page.  It's 3 tabs that have product information under each tab for my customers to view. How do I do this?

    Let's start at the very beginning.
    #1 Have you defined a Local Site in DW yet?  Without this critical step, DW can't manage links & assets for you.
    Simplified site setup in Dreamweaver CS5 | Learn Dreamweaver CS5 & CS5.5 | Adobe TV
    Once your site is defined -- including the remote server log-in credentials, you can upload files or folders of files by simply clicking the UP arrow which PUTS files to remote server.  See screenshot.  Conversely, the DOWN arrow GETS files from the remote server and saves them to your Local hard drive.
    Nancy O.

  • How can I embed a Keynote presentation on a web page?

    I created a Keynote presentation using Keynote version 6.5 (OS X Yosemite). I found the "export as html" option, which creates an entire web page named index.html. I opened that web page in Dreamweaver, but I'm not talented enough to figure out how to turn that page into a proper index.html page, including the graphics, background, and links (etc.) that I want on my sites home page.
    I have also tried to embed the presentation onto a web page that I've already created, but I can't figure out how to do that, either.
    Can someone tell me if it's possible to embed a custom-sized Keynote presentation onto a web page and, if so, how?
    OR can you tell me how to edit the page that Keynote created when I open it up in Dreamweaver?
    I think the former would be easier, given what I've seen when I try to do the latter.
    I have been using Dreamweaver for many years - since before Adobe bought it - and the site I'm currently updating is already in Dreamweaver. That's why I'm asking about Dreamweaver (if you were curious).
    Of course, I've probably not provided all the information you would need to help me, so please ask questions. I won't be offended if they point out my ignorance!
    Thank you for any help you might provide.

    The only workaround I found was to use the desktop version of Keynote, which allowed me to export the presentation as a set of images to iPhoto. From there, they show up as an album and can be brought back to the iPad, and then played as a looping slide show in the pictures app. It worked perfectly.

  • How can i update an html web page from Labview?

    I intend to publish the "status" of an experiment online through an web page. I mean, if my vi is running i would like to have a phrase or indicator set on at my web page. If my Vi is not running i would like this indicator set off. This page is hosted in a server and I would like to know if its possible to update the html file from labview through an ftp connection.
    Thanks in advance...
    MSc. Alexandre Michel Maul
    Parana Federal Univeristy - Brasil

    The system exec function is on the Communication palette. Its for executing system commands. On my Win2K system, the help for FTP is:
    "Ftp
    Transfers files to and from a computer running an FTP server service (sometimes called a daemon). Ftp can be used interactively. Click ftp commands in the Related Topics list for a description of available ftp subcommands. This command is available only if the TCP/IP protocol has been installed. Ftp is a service, that, once started, creates a sub-environment in which you can use ftp commands, and from which you can return to the Windows 2000 command prompt by typing the quit subcommand. When the ftp sub-environment is running, it is indicated by the ftp command prompt.
    ftp [-v] [-n] [-i] [-d] [-g]
    [-s:filename] [-a] [-w:windowsize] [computer]
    Parameters
    -v
    Suppresses display of remote server responses.
    -n
    Suppresses autologin upon initial connection.
    -i
    Turns off interactive prompting during multiple file transfers.
    -d
    Enables debugging, displaying all ftp commands passed between the client and server.
    -g
    Disables file name globbing, which permits the use of wildcard characters (* and ?) in local file and path names. (See the glob command in the online Command Reference.)
    -s:filename
    Specifies a text file containing ftp commands; the commands automatically run after ftp starts. No spaces are allowed in this parameter. Use this switch instead of redirection (>).
    -a
    Use any local interface when binding data connection.
    -w:windowsize
    Overrides the default transfer buffer size of 4096.
    computer
    Specifies the computer name or IP address of the remote computer to connect to. The computer, if specified, must be the last paramete
    r on the line."
    I use tftp all of the time to transfer files in a similar manner. Test the transfer from the Windows command line and copy it into a VI. Pass the command line to system exec and wait until it's done.

Maybe you are looking for