News for hackers. Stuff that matters.
Re:Lanterna – Easy console text GUI library for Java by ridentbyte on Wednesday July 16, 2014 @10:47AM (#8042277)
I have actually used this library in the past. I've never managed to get it working with Spring for DI because the library itself instantiates it's objects at really strange times... It's nice all the same though.
Re:Lanterna – Easy console text GUI library for Java by smrtinsert on Wednesday July 16, 2014 @11:04AM (#8042367)
Not having used laterna why would it matter when it instantiates anything? Spring lets you define init/destroy methods which would allow laterna to do its own thing... Or were you trying to use laterna features programmatically like an api?
Re:Lanterna – Easy console text GUI library for Java by ridentbyte on Wednesday July 16, 2014 @11:23AM (#8042489)
I can't remember entirely what I was trying to do, because it was over a year ago since I've touched it, but I remember stepping through Lanterna and seeing code that instantiates objects just before they appear on screen which meant it was over writing existing objects managed by Spring... (I think)

I know that Lanterna is still being actively worked on though, so maybe I'll give it another shot.

I see the spelling error on the: "Panel.Orientation.HORISONTAL" enum still exists though.

Re:Lanterna – Easy console text GUI library for Java by jareds on Wednesday July 16, 2014 @08:48PM (#8045436)
Has anyone gotten this working with Groovy? I wonder if you would run into similar issues.