Java TokenField like Cocoa?

Does anyone know of an existing Java bean that implements TokenField similar to Cocoa's NSTokenField?

Cocoa Control Overview: http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/TokenField_Guide/Introduction/Introduction.html

Suggestions for implementation?

Thank!

+2


source to share


2 answers


Perhaps you can try StringTokenizer? This will break your string into separate tokens. StringTokenizer (string text, delimiter);

For example:



String text = "Hello World";

Stringtokenizer stText = new StringTokenizer (text, "");

0


source


While not implemented yet, you should take a look at macwidgets and eventually ask for the widget to execute.



0


source







All Articles