Results 1 to 2 of 2
  1. #1
    diyana_25 is offline Member
    Join Date
    Apr 2012
    Location
    Indonesia
    Posts
    4
    Rep Power
    0

    Default Is it possible to save the content of a JList into *.txt file???

    Is it possible to save the content of a JList into *.txt file??? If it's possible, can you give me an explanation and sample? thank you so much

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is online now Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,993
    Rep Power
    9

    Default Re: Is it possible to save the content of a JList into *.txt file???

    Which part of this are you having trouble with? There are at least two parts to this: converting the selection of a JList into a String, and writing a String to a file. Post an SSCCE for one of these steps showing what you've tried and where you're stuck, and we'll go from there.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. Replies: 0
    Last Post: 11-14-2011, 06:54 AM
  2. Hyperlinking the content of a Jlist
    By mbarandao in forum Java Applets
    Replies: 15
    Last Post: 10-08-2010, 05:43 PM
  3. Replies: 7
    Last Post: 08-17-2010, 06:00 PM
  4. Replies: 0
    Last Post: 03-05-2010, 04:21 AM
  5. How can I save items in my JList?
    By yoodidoo in forum New To Java
    Replies: 2
    Last Post: 08-02-2009, 06:36 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
  •