Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within I/O and Streams
Search Coderanch
Advance search
Google search
Register / Login
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
I/O and Streams
i need to know how to get data from textfile....
Freya Tan
Ranch Hand
Posts: 45
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
i have problem getting data from TextFile & display in JTextField.. Can anyone pls help me.. need a reply urgently.. Thanks in advance..
this is my coding..
public boolean findapp(Object date, Object Month, Object Year) { FindDay f; AppList al = new AppList(); try { AppList = al.getAppointments(); } catch(IOException ex){ } for (int i=0; i<AppList.size(); i++) { f = (FindDay)AppList.get(); if (((f.getDate()).equals(daylist)) && ((f.getMonth()).equals(jcbMonth)) && ((f.getYear()).equals(jcbYear)) == true) { f.getDate(dayInput.getText()); <-------- Error Occurred for this 3 line f.getTime(timeInput.getText()); f.getApp(appInput.getText());
Freya Tan
Ranch Hand
Posts: 45
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
oh, by the way...
dayInput, timeInput & appInput are my JTextField name..
Thanks..
Gregg Bolinger
Ranch Hand
Posts: 15304
6
I like...
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This is not an IO issue plus this has already been addressed in the Swing forum. Closing this
thread
...
Consider Paul's
rocket mass heater
.
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Problem displaying..
Problem with Array
Delete from data..
Unable to update my data.. why is that so..?
Need to get data to appear in JTextField..
More...