Comments (3)
My opinion is that JFrame is only one possible option, I guess many users of your wonderful API don't embed the generated cloud in a swing client.
A first very interesting step would be have the possibility to get, after generation, the list of words with the used coordinates in the rendered picture.
This would open the way to implement click support for many platforms (web with javascript, mobile clients, swing ...).
In my particular case, I think I will generate the picture server side, and then use it both on web and mobile clients (android, IOs). If I have the list of coordinates I will be able to intercept the clicks and then start any action required.
Moreover, this would not require big changes in your code, as you already have knowledge of the positions of each word to avoid collisions.
from kumo.
I've thought about this a lot. Right now it draws directly to an image but I'd like to provide that kind of support for when embedding into a JFrame. It's not trivial unfortunately.
from kumo.
that feature would be great!
I found Kumo yesterday, so I'm just starting to explore the possibilities of Kumo. Didn't know there is a "Cloud Widget"? I currently develop a flickr stats tool and use Kumo in conjunction with Flickr4Java to visualice the used photo-tags. I show the cloud as a JLable icon in a JDialog, I'd even be satisfied with a tooltip/word to show the wordfrequency.
from kumo.
Related Issues (20)
- FrequencyAnalyzer is de-duplicating words HOT 2
- Multi Language support
- Slow Build process
- I need help HOT 1
- class not found problem with WordTokenizer
- Not able to download the JARs for 1.28 from Maven Dependency HOT 1
- How can I position text horizontally??? HOT 1
- Traditional Chinese words always displayed in Simplified Chinese version in word cloud frequencies and image
- chinese word can't be supported HOT 2
- LogFontScalar has incorrect calculations HOT 2
- stop-words-file fix HOT 2
- JDK Version issue HOT 1
- It's invalid to setBackground with a picture,the result is always a rectangle background picture HOT 2
- Homebrew install fails HOT 2
- persian word support
- How to repeat word and auto fill the Mask Bitmap? HOT 3
- Check CI Failure
- category feature
- Hi,Kenny,If the number of words is very small, can I repeat the words? I have been looking for this example for a long time HOT 2
- add support for users using java 9+ modules HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kumo.