diff --git a/core/src/main/java/com/github/weisj/darklaf/util/SwingXUtil.java b/core/src/main/java/com/github/weisj/darklaf/util/SwingXUtil.java index 98d22594..bfa3118e 100644 --- a/core/src/main/java/com/github/weisj/darklaf/util/SwingXUtil.java +++ b/core/src/main/java/com/github/weisj/darklaf/util/SwingXUtil.java @@ -31,12 +31,6 @@ import org.pbjar.jxlayer.plaf.ext.TransformUI; public final class SwingXUtil { - @SuppressWarnings("unchecked") - public static Point convertPointToParent(final Component source, final Point p) { - JXLayer layer = DarkUIUtil.getParentOfType(JXLayer.class, source); - return convertPointToParent(source, layer, p); - } - public static Point convertPointToParent(final Component source, final JXLayer layer, final Point p) { if (layer != null && layer.getUI() instanceof TransformUI) { diff --git a/core/src/main/java/com/github/weisj/darklaf/util/TimerUtil.java b/core/src/main/java/com/github/weisj/darklaf/util/TimerUtil.java index 1f0fe292..d478b2c0 100644 --- a/core/src/main/java/com/github/weisj/darklaf/util/TimerUtil.java +++ b/core/src/main/java/com/github/weisj/darklaf/util/TimerUtil.java @@ -36,13 +36,4 @@ public final class TimerUtil { } }; } - - public static Timer createNamedTimer(final String name, final int delay) { - return new Timer(delay, null) { - @Override - public String toString() { - return name; - } - }; - } }