Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
TehLeo authored and TehLeo committed Jan 22, 2018
1 parent 93fbfa1 commit 0be471a
Showing 1 changed file with 2 additions and 28 deletions.
30 changes: 2 additions & 28 deletions src/zmanga/SplashScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,11 @@ protected void paintComponent(Graphics g) {
updateRecentFiles(ZManga.recentFiles);

add(main);
pack();
setResizable(false);

// setSize(400, 300);
pack();
setLocationRelativeTo(null);
setVisible(true);

setVisible(true);
}
public void updateRecentFiles(ArrayList<File> files) {
int i = 0;
Expand Down Expand Up @@ -237,28 +235,4 @@ public void actionPerformed(ActionEvent e) {
}

}

// private Component createWestPanel() {
// //BPanel west = new BPanel(new BorderLayout());
//
// ButtonGroup g = new ButtonGroup();
//
// BRadioButton files = new BRadioButton("<html><b>Recent Files</b></html>");
// BRadioButton updates = new BRadioButton("<html><b>Source & Updates</b></html>");
// BRadioButton donations = new BRadioButton("<html><b>Support & Donations</b></html>");
//
// g.add(files);
// g.add(updates);
// g.add(donations);
//
// files.setSelected(true);
//
//// int w = 80;
//// files.setPreferredSize(new Dimension(w,w));
//// updates.setPreferredSize(new Dimension(w,w));
//// donations.setPreferredSize(new Dimension(w,w));
// //west.add(Borders.group(files, updates, donations), BorderLayout.CENTER);
// return Borders.group(true, true, files, updates, donations);
// }

}

0 comments on commit 0be471a

Please sign in to comment.