diff --git a/source/net/filebot/ui/rename/PresetEditor.java b/source/net/filebot/ui/rename/PresetEditor.java index bb02ed09..76bcfed1 100644 --- a/source/net/filebot/ui/rename/PresetEditor.java +++ b/source/net/filebot/ui/rename/PresetEditor.java @@ -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("Groovy File Filter
• fn =~ /alias/
• ext =~ /mp4/
• minutes > 100
• file.isEpisode()
• …
"); - 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 = "Groovy File Filter
• fn =~ /alias/
• ext =~ /mp4/
• minutes > 100
• file.isEpisode()
• …
"; + }