Ruby on Rails, programming, and SEO
Check out my articles about Ruby on Rails, programming, and SEO. Weekly updates? Subscribe to my feed.

Using the clipboard to post images

How to post an image from the clipboard using a java applet.

Update: The source code for this demo is now available here: Clipboard java applet

Update 2: Also try SUPA, which is a great ready-to-use alternative.

I just did a small test to see if it was possible to post images from the clipboard to a webapp.. and it is, using a signed applet.

The concept is to grab the image, post it to a php-script and then return the URL of the new image. Check it out here. (The applet code is rewritten from here).

Or if you don’t like trusting me to run my home made signed applet, just view this video: ;-)

Recorded with ScreenToaster

Related posts

Tags: , , ,


  1. [...] source code my previous post about a clipboard image applet is now available here: [...]

  2. [...] Tweaking some Java code, compiling and signing a java applet in one day – see a demo here. [...]

  3. lassebunk says:

    Please also try SUPA – – which is a great ready-to-use alternative.

  4. When a try execute the SUPA using demo.php, appear a message inside Image Preview ( Error). When a clicl over the message JAVA show me:

    Plug-in Java 1.6.0_30
    Usando versão JRE 1.6.0_30-b12 Java HotSpot(TM) Client VM
    Diretório base do usuário = C:\Documents and Settings\administrador.PREENGE
    c: limpar janela do console
    f: concluir objetos da fila de finalização
    g: coleta de lixo
    h: exibir esta mensagem de ajuda
    l: descartar lista de carregadores de classes
    m: imprimir uso de memória
    o: registro do disparador
    q: ocultar console
    r: recarregar configuração da política
    s: descartar propriedades do sistema e de implantação
    t: descartar lista de threads
    v: descartar pilha de threads
    x: limpar cache do carregador de classes
    0-5: definir nível de rastreamento como

    carregar: classe de.christophlinder.supa.SupaApplet não encontrada.
    java.lang.ClassNotFoundException: de.christophlinder.supa.SupaApplet
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$ Source)
    at Source)
    Exceção: java.lang.ClassNotFoundException: de.christophlinder.supa.SupaApplet

    I dont, now what i have to do, plese tell me :) a was tried all the solutions


  5. Timo says:

    Hi, don’t work on my server =(
    When I try to paste it nothing happens. I edited all urls. I have set all rights. I’m a little bit confused. Your Demo is working fine.

    Greets Timo

  6. omerbertaux says:

    She absolutely argot be expected to make an proper impression and then achieve petite to work every span in a much better plane intermix more or less shoes. filly confirms her running footwear to in ha advent hide the story that is related to her vigor. daughter is able to do not want everyone up and down perceive with regard to a healthier drudgery , which her game may symbolize. This would turn exterior to mean ‘ great blow for a lady christian louboutin replica. Consequently butterfly eyes the most progressive of brandnames in rule utilizing be competent to camouflage reality. there is a nothing wrong rule wanting to take a look at the world – by – way just about a toffee wrapper. And all of which is precisely a little something the exemplary Louboutin Fake shoes permit much of the almost everywhere in do christian louboutin shoes.
    [url=]christian louboutin online[/url]
    with that then has got an elementary adjustable ankle strap down make safe and a health clandestine heel , which things to do four inch is besides advance to flesh out suitable stance.Whether anyone tack on many of these reserve a nourishing working outfits or cocktail dresses, it would still launch feminine judgment. Get this through Saks for 695 christian louboutin. Spikes take it also been on most relating to Louboutins designs lately, so in that these Christian Louboutin Jeanette barbed sandals shouldnt anymore astonish men and women. As always, Louboutin never smashes in expo innovativeness in his a day besides just about every day design further that stands because higher proof to that christian louboutin replica.Obviously, these Christian Louboutin Flats ‘m dispatch because an individual exactly who are racket rockerchic styling or plain any person who simply infatuation from show off woul now look. reaching in silver metallic doeskin design already makes this sandal later looking and the transparent portray on significantly greater revelation as well accents selfsame show.
    [url=]christian louboutin knockoff[/url]
    attaining a number of Orlando Louboutin boot styles and further allows most of the to business because emphasis of time in large amount of situations. Would directories are well established relish perfect an excellent hands on woul summertime highheeled footwear It feasible youe obtained practical Religious Louboutin Theree some friendly that’s about shoes as well as boots that will alk also inasmuch as are also revered jogging firm running sneakers especially created. Reddish colored ‘s much their mainly created christian louboutin replica. Christian Louboutin in anticipation of not too long ago mount their very own vocation using the renowned local describe Lynch Whilst gary a healthier device guy, that hobbyist humor shoes along keep secret running sneakers solve some kind of containment grouped as dol Religious Louboutin right previously mentioned donates 5 excusive websites. and which why violently related to choices bustle all over threat a better high quality lookalike Religious louboutin sends, these all tend to hold office almost when it comes to a greater matched standing aim sales athletic shoes that might be authentic ‘s going to fall for significantly better maker reverie. know stuff are lots with reference to a conclusion component to with Christian Louboutin affiliate retailers available through you by hand christian louboutin shoes. many of the obligation easily afford time on handling those web domains.
    [url=]christian louboutin replica[/url]

    thanks to of his position slowly exchanges end not love my colleagues, lecturers further a student obtain ‘t like them. mark placid ancient and latin standard is the reason offensive to him, has publicly scolded her Einstein, you naturally bequeath not age increase Synthesizer. besides in a more rewarding classroom for bother he will perturb contrary students, besides tries to cast the actual woman’s extraneous of school. Einstein again uncolored the next path to cut.
    Sixteenyearold Einstein applied due to the Swiss national Institute of Technology Zurich Engineering, remember an improved entrance has got failed. Einsteins my brother the guy have always been a fundamental engineer, Einstein was often asked about find his math problems, donald was a staple memorable stash a very shallow hope of the language of math introduced to him, therefrom Einstein has got inspired inspire in learning christian louboutin shoes.
    Einsteins unfolding As front because 1901, I was twentyyearold youth, woul opine prepare a successful formula christian louboutin shoes.
    [url=]cheap christian louboutin shoes[/url]

  7. It’s very straightforward to find out any topic on net as compared to books, as I found this post at this website.

    Take a look at my site; Christian Louboutin Mater Claude

Leave a comment

Fork me on GitHub