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
be37c629e4
commit
ff35eb0464
1 file changed
+4
-10
@@ -66,12 +66,12 @@ public class MainViewer {
|
||||
|
||||
// math for it == 4 values per csv row. -> char at [4] of 0 or 4 or 8 --> corresponds to the row it affects.
|
||||
// get total amount of values. -> 11(array form) -> + 1 then div 4(values per row) = amount of rows needed
|
||||
// get row. if Pname = "title", RadioB.setText(values[row*4-3]);
|
||||
// get row. if Pname = "user name", RadioB.setText(values[row*4-2]);
|
||||
// get row. if Pname = "user email", RadioB.setText(values[row*4-1]);
|
||||
// get row. if Pname = "title", RadioB.setText(values[row*4+1]);
|
||||
// get row. if Pname = "user name", RadioB.setText(values[row*4+2]);
|
||||
// get row. if Pname = "user email", RadioB.setText(values[row*4+3]);
|
||||
// if row == values.charAt[4] then do above.
|
||||
|
||||
// for (int i = 0; i < values.length; i++)
|
||||
// for (int i = 0; i < values.length; i++) debug code...
|
||||
// {
|
||||
// System.out.println(values[i]);
|
||||
// }
|
||||
@@ -105,11 +105,7 @@ 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");
|
||||
|
||||
|
||||
@@ -170,8 +166,6 @@ public class MainViewer {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public void TabMaker(String Pname, JTabbedPane JT)
|
||||
{
|
||||
|
||||
|
||||
Reference in new issue
Block a user