X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=ui%2FUIUtils.java;h=e4eb000c6876f0a2b610da928fb16592cd1d3a4e;hb=712ddafb749aada41daab85c36ac12f657b2307e;hp=c7fcf623cd01274d60716658eabcc27a7b46a626;hpb=1fdc757711ffe55d2ed23f7e524133c478edd613;p=fanfix.git diff --git a/ui/UIUtils.java b/ui/UIUtils.java index c7fcf62..e4eb000 100644 --- a/ui/UIUtils.java +++ b/ui/UIUtils.java @@ -22,7 +22,6 @@ import javax.swing.UnsupportedLookAndFeelException; import javax.swing.event.HyperlinkEvent; import javax.swing.event.HyperlinkListener; -import be.nikiroo.fanfix.Instance; import be.nikiroo.utils.Version; import be.nikiroo.utils.VersionCheck; @@ -107,9 +106,9 @@ public class UIUtils { * @param color * the base colour * @param x - * the X coordinate + * the X coordinate of the upper left corner * @param y - * the Y coordinate + * the Y coordinate of the upper left corner * @param width * the width radius * @param height @@ -306,9 +305,9 @@ public class UIUtils { try { Desktop.getDesktop().browse(e.getURL().toURI()); } catch (IOException ee) { - Instance.getInstance().getTraceHandler().error(ee); + ee.printStackTrace(); } catch (URISyntaxException ee) { - Instance.getInstance().getTraceHandler().error(ee); + ee.printStackTrace(); } } });