Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: How display captcha image from url link [J2ME]

  1. #1
    Junior Member
    Join Date
    Jun 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy How display captcha image from url link [J2ME]

    Plz help me this: In my J2ME application, I need display a captcha image from url link (ex: http://www.captcha.tv/captcha/captcha_image.php)
    How i do that?, thanks


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: How display captcha image from url link [J2ME]

    This thread has been cross posted here:

    http://www.java-forums.org/cldc-midp/60833-how-display-captcha-image-url-link-j2me.html

    Although cross posting is allowed, for everyone's benefit, please read:

    Java Programming Forums Cross Posting Rules

    The Problems With Cross Posting

    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Junior Member
    Join Date
    Nov 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How display captcha image from url link [J2ME]

    When you write, you not only write to inform in your article, but you also provide further value and relevance within your Resource Box and on your links to your blog or website. Be sure to blend these four key ingredients well and you’ll have a recipe for article success.

    Thanks.

  4. #4
    Junior Member
    Join Date
    Sep 2017
    Location
    South Africa
    Posts
    13
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default Re: How display captcha image from url link [J2ME]

    You could try using the following idea:

    BufferedImage img = null;
    try {
    URL url = new URL(getCodeBase(), "examples/myimage.jpg");
    img = ImageIO.read(url);
    } catch (IOException e) {
    }

Similar Threads

  1. Help with image display on JTextArea
    By mozart66 in forum AWT / Java Swing
    Replies: 4
    Last Post: May 18th, 2012, 09:35 AM
  2. Image Doesn't Display with Qualified Image Path????
    By swaginator in forum What's Wrong With My Code?
    Replies: 5
    Last Post: March 31st, 2012, 12:29 AM
  3. Can't display an image...
    By barebackingtiger in forum What's Wrong With My Code?
    Replies: 3
    Last Post: January 25th, 2012, 07:21 PM
  4. Display Image (png)
    By vimalaranjan in forum What's Wrong With My Code?
    Replies: 1
    Last Post: May 3rd, 2011, 06:44 PM
  5. How to display a button with an image on it?
    By ice in forum AWT / Java Swing
    Replies: 10
    Last Post: November 13th, 2010, 06:20 AM