removed lists now covered by tags, rearranged main menu

This commit is contained in:
aj 2018-04-06 00:35:07 -07:00
parent 57d2ec312c
commit 55b4ed625a
3 changed files with 31 additions and 32 deletions

View File

@ -80,12 +80,11 @@ public class MainMenu extends JFrame {
}
});
add(viewLastTrack);
add(viewList);
add(viewTag);
add(getAlbum);
add(getArtist);
add(today);
add(viewTag);
add(viewList);
add(getArtist);
add(getAlbum);
}
}

View File

@ -35,13 +35,13 @@ public class RefListsView extends JFrame {
// add(view);
// }
JButton viewTDE = new JButton("TDE");
viewTDE.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
Reference.getTDE().view();
}
});
add(viewTDE);
// JButton viewTDE = new JButton("TDE");
// viewTDE.addActionListener(new ActionListener() {
// public void actionPerformed(ActionEvent arg0) {
// Reference.getTDE().view();
// }
// });
// add(viewTDE);
JButton viewBPHQ = new JButton("BPHQ");
viewBPHQ.addActionListener(new ActionListener() {
@ -86,24 +86,24 @@ public class RefListsView extends JFrame {
Reference.getEmoTrio().view();
}
});
add(viewEmoTrio);
JButton viewRockTag = new JButton("Rock Tag");
viewRockTag.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
FMObjList list = Getter.getUserTag(Reference.getUserName(), "rock");
list.view();
}
});
add(viewRockTag);
JButton viewRapTag = new JButton("Rap Tag");
viewRapTag.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
FMObjList list = Getter.getUserTag(Reference.getUserName(), "rap");
list.view();
}
});
add(viewRapTag);
// add(viewEmoTrio);
//
// JButton viewRockTag = new JButton("Rock Tag");
// viewRockTag.addActionListener(new ActionListener() {
// public void actionPerformed(ActionEvent arg0) {
// FMObjList list = Getter.getUserTag(Reference.getUserName(), "rock");
// list.view();
// }
// });
// add(viewRockTag);
//
// JButton viewRapTag = new JButton("Rap Tag");
// viewRapTag.addActionListener(new ActionListener() {
// public void actionPerformed(ActionEvent arg0) {
// FMObjList list = Getter.getUserTag(Reference.getUserName(), "rap");
// list.view();
// }
// });
// add(viewRapTag);
}
}

View File

@ -163,7 +163,7 @@ public class URLBuilder {
}
String date = String.format("%d-%s-%sT07:00:00.00Z", now.getYear(), month, day);
System.out.println(date);
// System.out.println(date);
// long midnight = Instant.parse("2018-04-05T07:00:00.00Z").getEpochSecond();
long midnight = Instant.parse(date).getEpochSecond();