Skip to content

Commit dfbf778

Browse files
committed
Add the footer question
1 parent a3d679c commit dfbf778

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/rarchives/ripme/ui/MainWindow.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,6 @@ public void windowIconified(WindowEvent e) {
11561156
aboutContent.append("- ").append(ripper).append("\n");
11571157
}
11581158

1159-
aboutContent.append("\nDo you want to visit the project homepage on Github?");
11601159
aboutTextArea.setText(aboutContent.toString());
11611160

11621161
// Ensure the scroll pane starts at the top
@@ -1168,6 +1167,9 @@ public void windowIconified(WindowEvent e) {
11681167
aboutPanel.add(titleLabel, BorderLayout.NORTH);
11691168
aboutPanel.add(scrollPane, BorderLayout.CENTER);
11701169

1170+
JLabel footerLabel = new JLabel("Do you want to visit the project homepage on Github?", JLabel.CENTER);
1171+
aboutPanel.add(footerLabel, BorderLayout.SOUTH);
1172+
11711173
int response = JOptionPane.showConfirmDialog(null, aboutPanel, mainFrame.getTitle(),
11721174
JOptionPane.YES_NO_OPTION, JOptionPane.PLAIN_MESSAGE, new ImageIcon(mainIcon));
11731175
if (response == JOptionPane.YES_OPTION) {

0 commit comments

Comments
 (0)