Initialize the Theme
The first step is to initialize JJArroyo in your JavaFX application. This applies the theme’s stylesheets to your scene.Create your Application class
Create a JavaFX Application class and initialize JJArroyo in the
start() method:Build a Simple UI
Now let’s create a simple user interface using JJArroyo components.Add Interactivity
Let’s enhance the example with event handling and more components:Component Styling
JJArroyo components support multiple styling variants:Button Variants
Input Validation States
Card Customization
Modal Container Setup
For using modals (JModal), you need to set up a modal container:Best Practices
Initialize Early
Always call
JJArroyo.init(scene) immediately after creating your Scene and before showing the Stage.Use Method Chaining
Most JJArroyo components support method chaining for cleaner code:
Leverage Built-in Layouts
Use JCard, JHeader, and JSidebar for consistent layouts without manual CSS.
Combine with JavaFX
JJArroyo components extend standard JavaFX controls, so you can use them anywhere you’d use native components.
Common Patterns
Form with Validation
Loading State
Next Steps
You’re now ready to build complete applications with JJArroyo!Explore Components
Discover all 47 components available in JJArroyo
Styling Guide
Learn how to style components with CSS classes
Dark Mode
Enable dark mode in your application
API Reference
Dive into the complete API documentation