<commit_before>Kindle Widget Toolkit
=====================

The KWT (**Kindle Widget Toolkit**) is a set of KComponents to be used with the Kindle Development Kit to create compelling user interfaces for Active Content.

The components in KWT attempt to match the style of the KDK APIs and the underlying Java AWT, and should in most cases be a drop-in replacement for the default components in the KDK.

Features
--------

At the moment, KWT supports the following components.

**KWTCheckbox** - A simple toggle-able checkbox, or a selectable radio button, depending on whether it belongs to a **KWTCheckboxGroup**.

**KWTDiagram/KWTMutableDiagram** - A diagram, in both mutable and non-mutable versions, which can be added to a container and have text flow around it.

**KWTSelectableLabel** - A KLabel that can receive ActionEvents as if it were a KButton.

Further components are in active development.

Using KWT
---------

Unfortunately, the KDK does not enable app bundles to contain third-party JARs, so using KWT is not as simple as adding it to the classpath. There are two main approaches you can use.

### Copying the source

You can simply copy the widgets you want to use into your own package and compile it together with your application. This is the easiest way to get everything working, but you will have to manually apply updates as KWT adds features and improvements. Alternatively, you can include the KWT package as a git submodule in your repository.

### Use the JAR
Although the KDK does not enable its app bundles to contain third-party JARs, you can add a target to your **build.xml** that copies the required Class files into your own JAR. Updating KWT then becomes simply a matter of dropping in the latest release. You can see an example of such a target in the sample project distributed together with KWT.

Documentation
-------------

You can view a full JavaDoc API Reference for KWT [here](http://s3.amazonaws.com/kwt-dev/javadoc/), or you can generate one yourself using the **generate-public-javadoc** build target.

License
-------
<commit_msg>Fixed typo in Javadoc URL<commit_after>Kindle Widget Toolkit
=====================

The KWT (**Kindle Widget Toolkit**) is a set of KComponents to be used with the Kindle Development Kit to create compelling user interfaces for Active Content.

The components in KWT attempt to match the style of the KDK APIs and the underlying Java AWT, and should in most cases be a drop-in replacement for the default components in the KDK.

Features
--------

At the moment, KWT supports the following components.

**KWTCheckbox** - A simple toggle-able checkbox, or a selectable radio button, depending on whether it belongs to a **KWTCheckboxGroup**.

**KWTDiagram/KWTMutableDiagram** - A diagram, in both mutable and non-mutable versions, which can be added to a container and have text flow around it.

**KWTSelectableLabel** - A KLabel that can receive ActionEvents as if it were a KButton.

Further components are in active development.

Using KWT
---------

Unfortunately, the KDK does not enable app bundles to contain third-party JARs, so using KWT is not as simple as adding it to the classpath. There are two main approaches you can use.

### Copying the source

You can simply copy the widgets you want to use into your own package and compile it together with your application. This is the easiest way to get everything working, but you will have to manually apply updates as KWT adds features and improvements. Alternatively, you can include the KWT package as a git submodule in your repository.

### Use the JAR
Although the KDK does not enable its app bundles to contain third-party JARs, you can add a target to your **build.xml** that copies the required Class files into your own JAR. Updating KWT then becomes simply a matter of dropping in the latest release. You can see an example of such a target in the sample project distributed together with KWT.

Documentation
-------------

You can view a full JavaDoc API Reference for KWT [here](http://s3.amazonaws.com/kwt-dev/javadoc/index.html), or you can generate one yourself using the **generate-public-javadoc** build target.

License
-------

{'fraction_non_alphanumeric': 0.0718720152817574, 'fraction_numerical': 0.0004775549188156638, 'mean_word_length': 4.022781774580336, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2385311', 'n_tokens_mistral': 1066, 'n_tokens_neox': 1044, 'n_words': 634}