* tooltips

This commit is contained in:
Reinhard Pointner 2015-10-22 07:24:36 +00:00
parent ebbc36a0c0
commit 54b3193301
1 changed files with 6 additions and 3 deletions

View File

@ -101,9 +101,7 @@ public class PresetEditor extends JDialog {
inputPanel.add(new JLabel("Input Folder:"), "gap indent");
inputPanel.add(pathInput, "growx, gap rel");
inputPanel.add(createImageButton(selectInputFolder), "gap 0px, wrap");
JLabel includesLabel = new JLabel("Includes:");
includesLabel.setToolTipText("<html>Groovy File Filter<br>• fn =~ /alias/<br>• ext =~ /mp4/<br>• minutes &gt; 100<br>• file.isEpisode()<br>• …<br></html>");
inputPanel.add(includesLabel, "gap indent, skip 1, split 3");
inputPanel.add(new JLabel("Includes:"), "gap indent, skip 1, split 3");
inputPanel.add(wrapEditor(filterEditor), "growx, gap rel");
inputPanel.add(createImageButton(listFiles), "gap rel");
@ -146,6 +144,9 @@ public class PresetEditor extends JDialog {
updateComponentStates();
setSize(650, 570);
// add helpful tooltips
filterEditor.setToolTipText(FILE_FILTER_TOOLTIP);
}
public void updateComponentStates() {
@ -428,4 +429,6 @@ public class PresetEditor extends JDialog {
}
};
private static final String FILE_FILTER_TOOLTIP = "<html>Groovy File Filter<br>• fn =~ /alias/<br>• ext =~ /mp4/<br>• minutes &gt; 100<br>• file.isEpisode()<br>• …<br></html>";
}