Results 1 to 5 of 5
  1. #1
    loopsnhoops is offline Member
    Join Date
    Feb 2011
    Posts
    83
    Rep Power
    0

    Wink JLISTS and Classes

    How can I transfer data from a JList to another class?

  2. #2
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,755
    Rep Power
    7

    Default

    Same way you pass any data, via method(s).

  3. #3
    loopsnhoops is offline Member
    Join Date
    Feb 2011
    Posts
    83
    Rep Power
    0

    Default

    I tried but it didn't work. Can you give me an example please?

  4. #4
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,755
    Rep Power
    7

    Default

    Quote Originally Posted by loopsnhoops View Post
    I tried but it didn't work.
    That provides zero information.
    Can you give me an example please?
    You first!

  5. #5
    mine0926 is offline Senior Member
    Join Date
    Apr 2010
    Location
    Philippines
    Posts
    580
    Rep Power
    5

    Default

    Quote Originally Posted by loopsnhoops View Post
    I tried but it didn't work.
    Show your code even it did not work, also if you get error message post it here and which line throws the error

Similar Threads

  1. JLists and JTables
    By loopsnhoops in forum New To Java
    Replies: 2
    Last Post: 05-27-2011, 01:19 AM
  2. Changing color of similar elements in two JLists
    By saisa in forum AWT / Swing
    Replies: 1
    Last Post: 04-29-2011, 09:42 AM
  3. How to make two jlists import objects from eachother
    By Embercloud in forum New To Java
    Replies: 0
    Last Post: 12-30-2010, 05:24 PM
  4. Question about JLists
    By Psyclone in forum AWT / Swing
    Replies: 4
    Last Post: 02-21-2010, 03:56 AM
  5. JLists - Filtering
    By Psyclone in forum AWT / Swing
    Replies: 1
    Last Post: 02-16-2010, 06:09 AM

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
  •