Results 1 to 5 of 5
  1. #1
    dilshod is offline Member
    Join Date
    Jan 2012
    Posts
    11
    Rep Power
    0

    Default To choose a line on jTable1

    At me such situation when I choose one of a line of a component jTable1, it gets out, but after pressing of the right button of the mouse that is raised by the contextual menu, it passes from chosen position to the focused. Help how to make, please, that after pressing of the right button of the mouse the line remains chosen. In advance thanks!
    Last edited by DarrylBurke; 04-15-2012 at 08:12 PM. Reason: Removed annoying all-bold formatting

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is online now Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,421
    Rep Power
    20

    Default Re: To choose a line on jTable1

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    jTextField
    establish focus in jButton

    All threads you started. All abandoned without reaching a logical conclusion.

    Forum members won't keep tossing tidbits of help into a vacuum forever. You need to tell the forum whether the replies helped and whether your problem was solved.

    And you should have the courtesy to thank the people who took the time to try to help, not just in advance, but after the advice.

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

  3. #3
    dilshod is offline Member
    Join Date
    Jan 2012
    Posts
    11
    Rep Power
    0

    Default Re: To choose a line on jTable1

    I am sorry. Simply not one answer has not solved my problem. But you are right, I should thank people to which gave attention on wash threads and tried to help me. I am sorry; to me it is very blush. It not to repeat any more. Which thanks have answered all on wash threads.

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is online now Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,421
    Rep Power
    20

    Default Re: To choose a line on jTable1

    To get better help sooner, post a SSCCE (Short, Self Contained, Compilable and Executable) example that demonstrates the problem.

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

  5. #5
    dilshod is offline Member
    Join Date
    Jan 2012
    Posts
    11
    Rep Power
    0

Similar Threads

  1. Choose between to id's (or)
    By Sean2012 in forum New To Java
    Replies: 6
    Last Post: 04-14-2012, 08:21 PM
  2. Replies: 16
    Last Post: 09-17-2011, 03:41 AM
  3. help to choose
    By NoWayOut in forum New To Java
    Replies: 3
    Last Post: 06-05-2011, 04:54 PM
  4. Choose app to default start app.
    By manhit45 in forum New To Java
    Replies: 1
    Last Post: 10-09-2009, 04:07 AM
  5. what to choose???(awt or swing)
    By moshe12007 in forum AWT / Swing
    Replies: 11
    Last Post: 08-14-2009, 12: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
  •