Skip to content
This repository was archived by the owner on Aug 18, 2024. It is now read-only.

Commit 8be59d3

Browse files
committed
added wildcard fnq
1 parent 74e9bbe commit 8be59d3

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/main/java/com/pistacium/modcheck/ModCheckFrame.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,25 @@ private void initHeaderLayout() {
8383
pathField.setText(pathSelector.getSelectedFile().getPath());
8484
}
8585
});
86+
JButton fnqButton = new JButton("?");
87+
fnqButton.addActionListener(e -> {
88+
JOptionPane.showMessageDialog(this, "<html><body>" +
89+
"You can download to multiple instances at once<br>by using wildcard(*) in the instance path." +
90+
"<br><br>" +
91+
"The wildcard(*) string can be used only once<br>and can only be used in the last path." +
92+
"<br><br>" +
93+
"Examples)<br>" +
94+
"'..\\AppData\\Roaming\\*'<br>" +
95+
"'..\\AppData\\Roaming\\.mine*'<br>" +
96+
"'..\\AppData\\Roaming\\*craft'<br>" +
97+
"'..\\AppData\\Roaming\\.min*ft'" +
98+
"</body></html>");
99+
});
86100

87101
instanceSelectPanel.add(headerLabel);
88102
instanceSelectPanel.add(pathField);
89103
instanceSelectPanel.add(selectPathButton);
104+
instanceSelectPanel.add(fnqButton);
90105
mainPanel.add(instanceSelectPanel, BorderLayout.NORTH);
91106
}
92107

0 commit comments

Comments
 (0)