Re: Setting the font size

2016-10-06 Thread Cecil Westerhof
2016-10-06 14:33 GMT+02:00 Sanel Zukan : > Cecil Westerhof writes: >> I saw that I already had: >> (use 'seesaw.core) >> and called: >> (invoke-later >> >> So I changed your call also into (invoke-later. Is this OK, or is >> there a reason to do it your way? > > That is fine. It is more id

Re: Setting the font size

2016-10-06 Thread Sanel Zukan
Cecil Westerhof writes: > I saw that I already had: > (use 'seesaw.core) > and called: > (invoke-later > > So I changed your call also into (invoke-later. Is this OK, or is > there a reason to do it your way? That is fine. It is more idiomatic to use 'require' to avoid namespace conflicts

Re: Setting the font size

2016-10-06 Thread Cecil Westerhof
2016-10-06 12:08 GMT+02:00 Sanel Zukan : > Cecil Westerhof writes: >> Two points: >> When using: >> (seesaw/invoke-later >> I get: >> Exception in thread "main" java.lang.RuntimeException: No such >> namespace: seesaw >> >> What do I need to do to get rid of this? > > (require '[seesaw.co

Re: Setting the font size

2016-10-06 Thread Sanel Zukan
Cecil Westerhof writes: > Two points: > When using: > (seesaw/invoke-later > I get: > Exception in thread "main" java.lang.RuntimeException: No such > namespace: seesaw > > What do I need to do to get rid of this? (require '[seesaw.core :as seesaw]) > Is it possible to increase the font

Re: Setting the font size

2016-10-06 Thread Cecil Westerhof
2016-10-05 13:22 GMT+02:00 Sanel Zukan : > Setting fonts under Seesaw isn't the most intuitive option, so you'd > have to dig into Swing core for this and investigate > java.swing.UIManager documentation. > > Here is a function that I often use in my applications: > > (defn set-font > "Set defaul

Re: Setting the font size

2016-10-05 Thread Sanel Zukan
Hi Cecil, Setting fonts under Seesaw isn't the most intuitive option, so you'd have to dig into Swing core for this and investigate java.swing.UIManager documentation. Here is a function that I often use in my applications: (defn set-font "Set default font for the whole Swing application. Make