try {
String[] symptoms = fieldsymp1.getText().split( ", " );
symptoms[0] = "Tearful";
symptoms[1] = "Lack of motivation";
symptoms[2] = "Nausea";
...
Type: Posts; User: lyzt
try {
String[] symptoms = fieldsymp1.getText().split( ", " );
symptoms[0] = "Tearful";
symptoms[1] = "Lack of motivation";
symptoms[2] = "Nausea";
...
Thank you! Sorry quite the novice, I'm just unsure what i'm storing within the array?
Thank you mate.
Though, I'm not sure how to collect all the data in the textfield using an array?
Hi, I am creating a simple Symptom Checker application. The problem I have is that I'm trying to retrieve user input (JTextField) by comma's using StringTokenizer which contacts the database for a...