Results 1 to 7 of 7
  1. #1
    kumar.dinesh7 is offline Member
    Join Date
    May 2012
    Location
    Yamuna Nagar,Haryana,India
    Posts
    28
    Rep Power
    0

    Default make a rectangle over JLabel

    how can i draw a rectangle over JLabel dynamically...???

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

    Default Re: make a rectangle over JLabel

    How dynamically?

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    kumar.dinesh7 is offline Member
    Join Date
    May 2012
    Location
    Yamuna Nagar,Haryana,India
    Posts
    28
    Rep Power
    0

    Default Re: make a rectangle over JLabel

    means by pressing some button.....or by some other event

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

    Default Re: make a rectangle over JLabel

    You need to explain your requirement in adequate detail, preferably along with the code you tried, in the form of an SSCCE.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  5. #5
    kumar.dinesh7 is offline Member
    Join Date
    May 2012
    Location
    Yamuna Nagar,Haryana,India
    Posts
    28
    Rep Power
    0

    Default Re: make a rectangle over JLabel

    i had not tried any code till yet....the thing i want is to make a series of rectangle on pressing some command button like an array...

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

    Default Re: make a rectangle over JLabel

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  7. #7
    kumar.dinesh7 is offline Member
    Join Date
    May 2012
    Location
    Yamuna Nagar,Haryana,India
    Posts
    28
    Rep Power
    0

    Default Re: make a rectangle over JLabel

    thanx for the help db....

Similar Threads

  1. Replies: 6
    Last Post: 11-30-2010, 11:29 PM
  2. To make slider resize rectangle and to move pictures
    By mneskovic in forum New To Java
    Replies: 11
    Last Post: 05-21-2010, 11:07 AM
  3. Adding a JLabel to a JPanel - jlabel not showing
    By Bongeh in forum New To Java
    Replies: 17
    Last Post: 04-06-2010, 11:02 PM
  4. I can't make JLabel do what I want (size-wise)
    By fletcher in forum AWT / Swing
    Replies: 9
    Last Post: 10-15-2009, 04:41 AM
  5. Make a text in Jlabel down to next Line
    By hungleon88 in forum AWT / Swing
    Replies: 2
    Last Post: 12-01-2008, 11:10 PM

Posting Permissions

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