# Tutorials and examples
## Examples
* The [examples directory](https://github.com/duchess-rs/duchess/tree/main/test-crates/duchess-java-tests/tests/ui/examples) on github contains some self-contained examples; the corresponding Java code is in the [java directory](https://github.com/duchess-rs/duchess/tree/main/java).
* The [test-crates directory]() contains some other standalone tests.
* Duchess itself uses duchess to [mirror the classes from the JVM](https://github.com/duchess-rs/duchess/blob/main/src/java.rs).
## Tutorials
Be sure to follow the [setup instructions](./setup.md).
* [Calling Java from Rust](./call_java_from_rust.md)
* [Implementing native methods](./implementing_native_methods.md)