Results 1 to 4 of 4
Like Tree1Likes
  • 1 Post By Fubarable

Thread: Add to a JPanel in a specific location

  1. #1
    DFTBA4ever is offline Member
    Join Date
    Feb 2013
    Posts
    2
    Rep Power
    0

    Default Add to a JPanel in a specific location

    I need to add some ellipses to a JPanel, and I need them to be in a specific spot within that JPanel. How would I specify where it is placed?

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,305
    Rep Power
    25

    Default Re: Add to a JPanel in a specific location

    Are you talking about drawing some shapes on the panel in the panel's paintComponent() method?
    If you don't understand my response, don't ignore it, ask a question.

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

    Default Re: Add to a JPanel in a specific location

    Ignoring the two responses on your earlier thread doesn't exactly encourage members here to put effort into replying to this one.

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

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

    Default Re: Add to a JPanel in a specific location

    Quote Originally Posted by DarrylBurke View Post
    Ignoring the two responses on your earlier thread doesn't exactly encourage members here to put effort into replying to this one.
    At least he's being consistent, since he seems to be ignoring replies to this thread as well.
    DarrylBurke likes this.

Similar Threads

  1. code to upload a pdf file to specific location on server
    By srinivasa rao in forum New To Java
    Replies: 8
    Last Post: 09-08-2011, 12:30 PM
  2. Retrieving mouse location inside a thread relative to an external JPanel.
    By Zambash in forum Threads and Synchronization
    Replies: 7
    Last Post: 08-25-2011, 04:33 PM
  3. need to copy file from one location to another location
    By naveen.dpt2007 in forum New To Java
    Replies: 4
    Last Post: 02-28-2010, 03:53 PM
  4. location provider returns no location
    By sandeeprao.techno in forum CLDC and MIDP
    Replies: 0
    Last Post: 09-24-2009, 09:54 AM
  5. Replies: 2
    Last Post: 11-08-2008, 10:40 AM

Posting Permissions

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