As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Which readline-like library for Java do you use? By 'readline' like library I mean library for editing console input, with support for history, tab-completion, and stuff like this. I'm looking for one, and I cannot choose from so many choices (jLine -- unmaintained, java-readline -- last release on 2003, others?)
I've used JLine to add history, etc. to a Clojure REPL (JVM process) when executed from the command line. It just magically worked and worked well, so I never bothered to investigate anything else.
jruby has an internal readline you could probably call out to.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
is there any Java port for GLM library ? I'm using LWJGL and I'm missing some nice capabilities of GLM.
I have seen mention about port in this answer, but I don't know how to contact the person that wrote the answer (no messages on stackoverflow, no possibility to add comment to closed question).
Porting GLM to Java wouldn't really make sense - it is very much a "C++" library.
This Github repo (found by googling "glm java port opengl matrix") claims to be a "conceptual" port. Your mileage may vary.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am building a mid-sized standalone console based java application and I must log various events that can take place. I am not sure about which API to use. I have looked upon Logback Project and log4j. I am concerned if these are the right one, since both of the seem to have extensive uses in the web application projects. Please help me decide if I am better using the default java.util.logging API or should I use another frameworks; if so which one.
Thanks!
I recommend slf4j.(it's written by the same guy who did log4j) You can read more from here
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have created my own java library but now I want to create my own octave toolbox.
How do I get started on this.
Is there a hello world tutorial on how to create a toolbox in octave?
Thanks
There's 2 main documents about it. The official manual and the one for Octave Forge (they kind of overlap). Seems to me your code will be dependent on the java package. However, this package was merged into Octave core a few weeks ago and has been suffering a lot of changes there. You may want to test your package with the development sources.
Note however that octave packages that are simple wrapper around java libraries are likely to be frowned upon.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
For a java project I am working on, I'm looking for a decent open source library of icons to use in the GUI.
I've found several libraries via Google searches, and have not yet found the icon that is 'just right'. I'm interested in any that other developers use, before I start pulling them into my code.
My advise is to try looking at icons for webdesigners, you will get much more results:
http://www.webdesigncore.com/2012/03/09/20-free-gui-icon-sets-for-web-designers/
http://www.hongkiat.com/blog/40-free-and-useful-gui-icon-sets-for-web-designers/
http://ionicons.com
Or obviously the search engines:
http://www.freeiconsweb.com
http://www.iconfinder.com/free_icons
Also, you might prefer building your own font with vector icons:
https://icomoon.io
Hope this helps
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Too many people have told me about the disadvantages, but what is its advantage if any?
JavaCC doesn't require its own runtime JAR (the code it generates runs on its own), whereas ANTLR does.
JavaCC is incredibly easy to learn if you already know Java. The syntax is quite similar to standard Java syntax, and the differences are intuitive.
JavaCC can generate C++ as of last year and Sreeni (the maintainer) is improving the system.
http://java.net/projects/javacc/lists/users/archive/2011-02/message/10