Results 1 to 6 of 6
  1. #1
    Nubkadiya is offline Member
    Join Date
    May 2010
    Posts
    9
    Rep Power
    0

    Default how to use picturebox and pass parameters to a url

    my application contain two location parameters. i want to send them to a google static map link and take that link and show it in a picturebox. it should not be a label with ImageIcon.

    can someone help me. please

  2. #2
    camickr is offline Senior Member
    Join Date
    Jul 2009
    Posts
    1,234
    Rep Power
    7

  3. #3
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    Well, I don't have an account at Stack Overflow, yet, so I'll answer here, so maybe camickr (or better yet the OP sense he was the one rude enough to cross-post without the manners of including references to each other so that people do not repeat advice already given, thereby wasting their time) will also link to this thread from there.

    There is nothing wrong with using JLable and ImageIcon. If you are so uptight about that, then simply write a class that extends JPanel (with a Constructor that takes an Image of some sort) and overrides paintComponent to paint it.

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,202
    Rep Power
    19

    Default

    Also cross posted on this forum
    how to get a picturebox in netbeans

    db

  5. #5
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. how to get a picturebox in netbeans
    By Nubkadiya in forum NetBeans
    Replies: 2
    Last Post: 06-01-2010, 08:36 PM
  2. Pass String Value
    By DJCali in forum New To Java
    Replies: 2
    Last Post: 03-03-2010, 12:48 AM
  3. Don't pass by reference
    By Lyven in forum Advanced Java
    Replies: 6
    Last Post: 11-16-2009, 06:06 PM
  4. Pass-by-reference
    By popjava in forum New To Java
    Replies: 1
    Last Post: 10-19-2009, 03:45 PM
  5. Pass by ref. A work around?
    By diRisig in forum New To Java
    Replies: 0
    Last Post: 02-05-2008, 07:25 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •