alket
June 12th, 2009, 12:19 PM
http://i40.tinypic.com/219tdv6.png
Im making a simple Java app to run in Ubuntu
it contains
jTextFiled1 = "Chapter"
jTextField2 = "Verse"
jChapterButton
jVerseButton
and jList
I want it when I write to Chapter Field any number it must load an extrenal file for jList something like (im noob)
Application Directory+/Chapters/+ TextField Number+".txt"
and display it in jList
When I write to Verse Field it must select the line to jList
for example the number in Verse Field is 18 it must select the 18th line in jList
How to do that ?
p.s. Im programming it with NetBeans IDE
Im making a simple Java app to run in Ubuntu
it contains
jTextFiled1 = "Chapter"
jTextField2 = "Verse"
jChapterButton
jVerseButton
and jList
I want it when I write to Chapter Field any number it must load an extrenal file for jList something like (im noob)
Application Directory+/Chapters/+ TextField Number+".txt"
and display it in jList
When I write to Verse Field it must select the line to jList
for example the number in Verse Field is 18 it must select the 18th line in jList
How to do that ?
p.s. Im programming it with NetBeans IDE