Results 1 to 3 of 3
  1. #1
    africanhacker is offline Senior Member
    Join Date
    Feb 2011
    Posts
    107
    Rep Power
    0

    Default Dynamically input text JTextField. Is it possible?

    I have a JTextField which I have setEditable to false.

    I want to use it to display the details of a product when a Jlist option is selected. If the selection is changed in my Jlist then the details displayed in my JTextField should also change.

    Can this be done. If not what else can I use to achieve the same end.

    Thank you in advance for your help.

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

    Default

    You already have a thread running which is leading in this direction.
    Operations on JList

    Posting a related question without telling us about it in the earlier thread isn't good forum etiquette.

    db

  3. #3
    africanhacker is offline Senior Member
    Join Date
    Feb 2011
    Posts
    107
    Rep Power
    0

    Default

    Sorry about that. I was trying not to start a new question on a thread that had already started. My bad.

Similar Threads

  1. dynamically search user input files
    By Juuno in forum Advanced Java
    Replies: 2
    Last Post: 04-29-2009, 04:51 PM
  2. Change data source dynamically while updating web input report
    By freezea in forum Reviews / Advertising
    Replies: 0
    Last Post: 04-17-2009, 02:27 PM
  3. Convert Input from JTextField to int?
    By jls7168 in forum New To Java
    Replies: 7
    Last Post: 02-20-2009, 02:29 AM
  4. Constraining Input in JTextField
    By kataya in forum AWT / Swing
    Replies: 1
    Last Post: 06-26-2008, 06:25 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
  •