Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking for a free Java library to visualize some data. I want to do something similar as the following two images. Is there any possibility? I first thought of prefuse, but this isn't developed since 2007. So any oher libraries?
Have you considered looking at GraphViz?
Graphviz (short for Graph Visualization Software) is a package of open-source tools initiated by AT&T Labs Research for drawing graphs specified in DOT language scripts. It also provides libraries for software applications to use the tools. Graphviz is free software licensed under the Eclipse Public License.
You can do some fairly cool stuff with it:
For the timeline part, you should really consider Google Visualization API which contains annoted timelines, ...
Try Protovis, which seems to be the successor of Prefuse and may be a good alternative option. It is written in JavaScript, but a Java Graphical Toolkit is available.
D3.js is the successor of Protovis today. (Recommended by Protovis.)
GraphStream is a possibility.
Check ou:
http://processing.org/
http://www.axiis.org/ (not java)
http://gephi.org/
Further links can be found at:
http://en.wikipedia.org/wiki/Data_visualization
http://en.wikipedia.org/wiki/Scientific_visualization
An other alternative is to use JUNG framework. If you are looking for browser/Javascript based libraries as well, checkout three.js
Another library you could consider is JGraph. It works mainly with graphs but you can easily implement a timeline as a one. The project can be found on GitHub https://github.com/jgraph/jgraphx and was recently updated.
You'd have to no doubt do a lot of customization, but Google's Chart Tools offers a lot of flexibility and options (http://code.google.com/apis/chart/). I have not done anything as involved as the images that you pasted above, but it was fairly easy to set up various charts using the Google Visualization API.
It might be worth it to post your images on the Google Visualization API group (http://groups.google.com/group/google-visualization-api?pli=1) to see if anyone has done more involved charts like those you've proposed above using the Visualization API...
I am surprised this hasn't been listed. I used jFreeChart a while back: http://www.jfree.org/jfreechart/
If you are explicitly looking for a swing library, ignore this answer!
But in the world of web, Raphaël and D3.js are my favorites. Back-end could be implemented in java.
If you dont mind to use javascript solution timeglider is what you need for the second screenshot.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I have an Image Capture project where:
I want to be able to identify scanners on the network so that it can be selected as a datasource for input.
I want to be able to control the scanner, capturing the image using the TWAIN driver.
The project is in JAVA so would like a JAVA wrapper or API for the TWAIN driver and/or TWAIN DSM.
In researching, I was first trying to find open source code for TWAIN, but this seems to dead-end on JAVA.
I can find commercial software such as from Aprise and Morena, but both seems not up-to-date. JTWAIN seems to be the most popular but seems dated. Open Source seems to be in worse shape where last activity is years ago:
http://rsbweb.nih.gov/ij/plugins/twain-scan.html
http://www.coderanch.com/t/273864/java/java/Scanner-Twain-Java
Acquire Images in java using TWAIN
Is there any support, stable Java TWAIN wrappers?
Are there any commercial solutions other than JTWAIN, Morena or EZTWAIN?
I am not looking for SANE driver and wrapper as I have found something already if we went down the SANE path.
Thanks,
Jason
The first comment I have is that if you're developing something to run in a web browser steer clear of Java.
That being said, if this is an application instead of an applet intended for web, I've had great success with Morena. As for Morena, Aprise, and JTwain, don't get too excited over lack of updates. TWAIN, being a 23-year-old scanner specification, has reached a maturity where it hasn't and won't change much. The TWAIN developers have now focused on a new standard called TWAIN Direct, which is to eventually supersede TWAIN itself through driverless network scanning.
If you want a browser-based scanning solution use Dynamsoft. They have a plugin for everything. If you need a browser-based solution and that's not an affordable option you'll have to write custom browser plugins.
Hopefully we can look forward to this being implemented on other OSes:
https://developer.chrome.com/apps/documentScan
I suggest you can try Dynamic .NET TWAIN. Although Dynamsoft does not directly provide a Java TWAIN solution, they keep .NET version up-to-date, supporting x86 and x64. You can easily wrap DOTNET APIs by reading the article - Java TWAIN with Dynamic .NET TWAIN and jni4net.
Here is the source code: https://github.com/Dynamsoft/JavaTwain
You can try my TWAIN JAVA API.
But one problem which I did not solve yet, is the Windows-x86_64 drivers.
The sample twain driver works perfectly on java x86 and x64.
But some drivers like HP or Kyrocera only work on x86 java.
Twain Java Library
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am trying to create an program similar to ELIZA. My preference is to implement this project in a general language such as ruby, java, C++.
is there some framework (open source would be great) available for any of these languages ?
I'm answering an old question here mainly thanks to the renewed interest in chatbots after Facebook's announcement at F8 2016. Here're few platforms that you can use to create chatbots:
Pandora Bots
Api.ai
The above two use natural language processing and advanced AI to create chatbots. You can use the above in conjunction with platforms that allow you to create bots across various messaging platforms. This way you can write your bot logic once and deploy it across different messaging platforms (FB Messenger, Slack, WeChat, Skype etc). To achieve this, you can use:
Microsoft Bot Framework
Twilio
Gupshup
Disclaimer: I work for Gupshup.
At the heart of a chat bot there is a natural language processor (NLP), the engine implements algorithms that would break a sentence entered by a human (e.g plain English) to a series of token the computer can process.
while I am not familiar with a chat bot framework there are several open source NLP engines you can utilize to implement a chat bot:
for example Open NLP
googling for "natural language processor" will point you to other sources
To my mind, the most simple way to work on bots actually is to use gaelyk, a groovy framework to develop applications on top of google app engine.
Indeed, using google app engine, you gain a quite easy to use server environment, complete with high load support.
And gaelyk provides some very cool improvements over google app engine jabber handling.
Even better, you replace Java language with Groovy, which is more or less compatible, but with very nice enhancements.
Check this bot framework named JBuddy Bot Framework
A framework for a chatbot... no. A chatbot is a serious field, requiring teams of computer scientists many years to develop. There is no frame that can help besides the general purpose ones that come with them (the string libraries would be a great place to start).
There are plenty of frameworks available for IRC-bots, but not specificly a chat-bot. Ruby has a great resource for quickly finding popular libraries/frameworks Ruby-toolbox.com
If you want something that is MVC-based I can recommend Autumn. If you want something a little more lightweight take a look at Isaac or Cinch. I've worked with all libraries before and work as expected.
Does JFreeChart work on Blackberry?
(Just want to get a quick answer before I spend hours trying to give it a shot, would rather know now if it doesn't work)
No, as it states on the front page for that library "JFreeChart requires the Java 2 platform (JDK version 1.3 or later)" and the BlackBerry platform is J2ME (CLDC 1.1).
If you can post what requirements you are looking for, perhaps the community can recomand a library that works for you. For example on of the regular BlackBerry contributors on Stack Overflow works for a company that provides a product called aiCharts and I'm guessing there are others out there, too.
You cannot if you are looking to run JFreeChart directly on the Blackberry as Marc mentioned. If however you are up for a little web programming then JFreeChart would be on the server which could surely meet the java requirements. JFreeChart can serve up images and html maps for interactive use. Check out another answer of mine for tips.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I was wondering if there is any open source recommendation engine available? It should suggest something like Amazon and Netflix. I have heard of a framework called Apache Mahout - Taste. I am trying it next week. It would be great if you can share your valuable thoughts.
I'm the developer of Mahout / Taste, and hope it will do what you need, but in the interest of balanced coverage, let me also point you at:
Duine
CoFE
Cofi
Apache Mahout is the only one I have found for this area (I have been looking recently too).
Though Weka may also be an option.
I had to work with open source recommendation systems and these are the ones that I found:
Duine, Apache Mahout, OpenSlopeOne, Cofi, SUGGEST and Vogoo.
More details:
Apache Mahout constitutes a Java framework in the data mining area. It has incorporated the Taste Recommender System, a collaborative engine for personalized recommendations.
Vogoo is a PHP framework that implements an collaborative filtering recommender system. It also presents a Slope-One code.
A Java version of the Collaborative Filtering method is implemented in the Cofi library. It was developed by Daniel Lemire, the creator of the Slope-One algorithms. There is also an PHP version available in Lemire's webpage.
OpenSlopeOne offers an Slope One implementation on PHP that cares about performance.
SUGGEST is a recommendation library made by George Karkys and distributed in a binary format.
I described everything I found out here on my blog:
http://girlincomputerscience.blogspot.com.br/2012/11/open-source-recommendation-systems.html
hope it helps!
I just started using easyrec. The forums are not very active, though I did get my questions answered. Plus they have a demo server so you can test drive the recommendation tools without installing anything. I liked their javascript API and way to track recommendations of different types of items. Currently, they only support the slope one recommender--if you are looking for flexibility in this regard, mahout wins hands down (though you can write your own plugins for easyrec).
lenskit seems another good recommendation engine in Java, provided by the grouplens team.
If you're looking more for the raw engine, rather than something specifically configured for amazon or netflix, then Minion provides 'document similarity measures'.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 months ago.
Improve this question
What libraries/methods do you know of that can do some basic HTML representation in Swing? Can you comment on your experience?
A good pure Java solution is JWebEngine. It render HTML 4 very good.
Many of the Swing controls (like JLabel) can render basic HTML content. JEditorPane can be used to display HTML pages. However, these controls are limited to HTML 3.2 support.
For a richer experience, I would use the JDesktop Integration Components.
JDIC provides Java applications with
access to functionalities and
facilities provided by the native
desktop. It consists of a collection
of Java packages and tools. JDIC
supports a variety of features such as
embedding the native browser,
launching the desktop applications,
creating tray icons on the desktop,
registering file type associations,
creating JNLP installer packages, etc.
I haven't tried this in a while, but a quick google search shows some possibilities:
Java Sketchbook: The HTML Renderer Shootout, Part 1
Cobra: Java HTML Renderer & Parser
Are you trying to do this in an applet, or an application? If it's an application (or signed applet) you could potentially instantiate IE or Firefox within your application. Webrenderer acts as a Swing wrapper for this.
Swing has a built-in compontent called BasicHTML. I've never used it, but I think it should be sufficient for the basic stuff.
This has historically been a major weak point for Java, IMO. There are numerous ways to display limited markup, but very few that offer full featured HTML capabilities. The previously mentioned JDIC component is one option, however it is considered a "heavyweight" component and therefore does not always integrate well with Swing applications.
I am hopeful, however, that the new Webkit based JWebPane project will provide more advanced capabilities without all of the issues that we've had to deal with in the past. And, of course, there are several commercial options as well (IceBrowser is pretty good as an example).
I've just used SwingBox to display a quite simple HTML page, with good results.
The project includes a simple demo application which compares its BrowserPane component to JEditorPane, showing a far better result on complex pages (but still not comparable with a modern web browser).
The only issue I had is about unwanted scrollbars from the wrapping JScrollPane. The demo application seems to have the same problem. I can't tell where the issue originates. I'm using version 1.0.
Here a code fragment to show how simple is to use the component:
BrowserPane browserPane = new BrowserPane();
JScrollPane scrollPane = new JScrollPane(browserPane);
someContainer.add(scrollPane);
browserPane.setText("<html><b>Some HTML here</b></html>");
// or...
browserPane.setPage(new URL("http://en.wikipedia.org"));
Came across Lobo java web browser the other day.
Lobo is being actively developed with the aim to fully support HTML 4, Javascript and CSS2.
No experience with it though, but thought it may fit the bill for you.