On May 8, 10:02 pm, "* ^ *" <[email protected]> wrote:

> However, I seek to improve how comboBox is populated.
> // This is not very elegant.
 What can I use to seek a directory of
> images, and retrive filenames in it to populate the comboBox?
You may want to read the Files class, especially the listFiles method.
Use a filter to retrieve only the gif files.

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to