5 ms·
Lanterna – Easy console text GUI library for Java
- ridentbyte 12y agoI 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.
- smrtinsert 12y agoNot 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?
- ridentbyte 12y agoI 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.
- jareds 12y agoHas anyone gotten this working with Groovy? I wonder if you would run into similar issues.
- argentpyro 12y agoI've used this library before and really liked it. I made a really simple roguelike with it: https://github.com/melloc/roguelike https://github.com/melloc/roguelike I remember running into some minor issues, but for the most part it's an awesome, mature library.
- fiatmoney 12y agoThere's nothing more satisfying than a hardcore greenscreen admin interface to your web app.
- abengoam 12y agoThat looks awesome.
- JimmyM 12y agoI am just starting to work on a Roguelike in Java now. How did you know?
- pjmlp 12y agoOohh, memories of Turbo Vision resurface...
- dschulz 12y agoI've not tried it yet, but.. Hori_s_ontal? Why? https://code.google.com/p/lanterna/source/browse/src/main/java/com/googlecode/lanterna/gui/layout/HorisontalLayout.java https://code.google.com/p/lanterna/source/browse/src/main/ja...
- danneu 12y agoMartin Berglund might be Scandinavian. https://translate.google.com/#en/no/horizontal https://translate.google.com/#en/no/horizontal
- deleted 12y ago[deleted]
- mindcrime 12y agoOn a related note, there is also Charva which is somewhat similar. http://www.pitman.co.za/projects/charva/index.html http://www.pitman.co.za/projects/charva/index.html
- TTPrograms 12y agoAre there similar solutions for other languages (other than curses)? In particular I would love something for python scripting.
- thristian 12y agoterminfo and curses fulfil the first two layers described on the web-page, and have decent bindings in the Python standard library. For the third layer, the widget toolkit, you probably want something like Urwid.
- speednoise 12y agoThere's a Clojure wrapper (https://github.com/sjl/clojure-lanterna https://github.com/sjl/clojure-lanterna) which features in a pretty great series of blog posts on making a Roguelike with it: http://stevelosh.com/blog/2012/07/caves-of-clojure-01/ http://stevelosh.com/blog/2012/07/caves-of-clojure-01/