W1R6 – Adding Additional Tabbed Panes for data in the 'userprofile.csv' file -- finished CSV reader. set CSV file to userprofile.csv
This commit is contained in:
1 parent
c15ec0d0ad
commit
be37c629e4
1 file changed
+6
-1
@@ -29,7 +29,7 @@ public class MainViewer {
|
||||
try (BufferedReader csvReader = new BufferedReader(new FileReader(file))) {
|
||||
while (csvReader.ready()) {
|
||||
String line = csvReader.readLine();
|
||||
System.out.println(line);
|
||||
// System.out.println(line);
|
||||
values = line.split(",");
|
||||
|
||||
for (int i =0; i < values.length; i=i+4)
|
||||
@@ -105,9 +105,14 @@ public class MainViewer {
|
||||
// end of temporary row rename
|
||||
|
||||
JRadioButton JR = new JRadioButton(name); // temporary use of name as label for JRadioButton - to allow for the use of text being manipulated // changed.
|
||||
|
||||
|
||||
JButton JEdit = new JButton("Edit");
|
||||
|
||||
|
||||
JButton JDelete = new JButton("Delete");
|
||||
|
||||
|
||||
jp.add(JR);
|
||||
jp.add(JEdit);
|
||||
jp.add(JDelete);
|
||||
|
||||
Reference in new issue
Block a user